1
0
mirror of git://sourceware.org/git/lvm2.git synced 2025-01-02 01:18:26 +03:00
This commit is contained in:
Zdenek Kabelac 2012-03-01 10:46:39 +00:00
parent 310f54439c
commit d17cd1c385

View File

@ -479,7 +479,7 @@ int dm_task_get_driver_version(struct dm_task *dmt, char *version, size_t size)
(snprintf(version, size, "%u.%u.%u", v[0], v[1], v[2]) < 0)) {
log_error("Buffer for version is to short.");
if (size > 0)
version[0] = '\0'
version[0] = '\0';
return 0;
}