1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-22 17:35:59 +03:00

Fix dmsetup version driver version

This commit is contained in:
Alasdair Kergon 2006-01-03 20:53:57 +00:00
parent 4936efba5e
commit 96f259726c
2 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
Version 1.02.03 -
============================
Fix dmsetup version driver version.
Add sync, nosync and block_on_error mirror log parameters.
Add hweight32.
Fix dmeventd build.

View File

@ -502,7 +502,7 @@ static int _version(int argc, char **argv, void *data)
if (dm_get_library_version(version, sizeof(version)))
printf("Library version: %s\n", version);
if (dm_driver_version(version, sizeof(version)))
if (!dm_driver_version(version, sizeof(version)))
return 0;
printf("Driver version: %s\n", version);