]> sourceware.org Git - lvm2.git/commitdiff
typo: fixes
authorZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Feb 2021 22:51:56 +0000 (23:51 +0100)
committerZdenek Kabelac <zkabelac@redhat.com>
Mon, 8 Feb 2021 22:53:41 +0000 (23:53 +0100)
forgotten merge from last batch.

lib/snapshot/snapshot.c
lib/writecache/writecache.c

index b832f890dd01fe92572572c72544024668c2c538..8446a6914d6b0deb461694f301a29cbfe047678a 100644 (file)
@@ -154,7 +154,7 @@ static int _snap_target_present(struct cmd_context *cmd,
 
                if (!(_snap_present = (target_present_version(cmd, TARGET_NAME_SNAPSHOT, 1,
                                                              &maj, &min, &patchlevel) &&
-                                      target_present(cmd, TARGET_NAME_SNAPSHOT_ORIGIN, 0)))
+                                      target_present(cmd, TARGET_NAME_SNAPSHOT_ORIGIN, 0))))
                        return 0;
 
                if ((maj > 1 ||
index d114d698c7bae0e4c56d9e9a9777fb52fdf8da4a..aa2113271421bce53be560e3a2cde5e906f47ecc 100644 (file)
@@ -238,7 +238,7 @@ static int _target_present(struct cmd_context *cmd,
 
        if (!_writecache_checked) {
                _writecache_checked = 1;
-               if (!(_writecache_present = target_present_version(cmd, TARGET_NAME_WRITECACHE, 1.
+               if (!(_writecache_present = target_present_version(cmd, TARGET_NAME_WRITECACHE, 1,
                                                                   &maj, &min, &patchlevel)))
                        return 0;
 
This page took 0.041114 seconds and 5 git commands to generate.