]> sourceware.org Git - dm.git/commitdiff
Fix dmsetup version driver version
authorAlasdair Kergon <agk@redhat.com>
Tue, 3 Jan 2006 20:53:57 +0000 (20:53 +0000)
committerAlasdair Kergon <agk@redhat.com>
Tue, 3 Jan 2006 20:53:57 +0000 (20:53 +0000)
WHATS_NEW
dmsetup/dmsetup.c

index 13195dc857631802e3612b35ba8aa700ee6cd42d..28272a3f3cc3305ba7f0e1e2503042a807f2aa19 100644 (file)
--- a/WHATS_NEW
+++ b/WHATS_NEW
@@ -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.
index 4b5c13284d4e0ab423007effee43918ff954cb98..d0c26b2fa9986af932cda0644e6bcc660d061312 100644 (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);
This page took 0.031827 seconds and 5 git commands to generate.