Skip to contentSkip to conversation

main - typo: fixes

PATCH Zdenek Kabelac 1 participant 1 message Feb 8, 2021

lore
Share & tools
lore
#0 lore raw
Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=ef2e0d3d680829ad4f4253787cd7a0db0c4597d6
Commit:        ef2e0d3d680829ad4f4253787cd7a0db0c4597d6
Parent:        d280999b62c61b9769eb5c3a01a19fa54461259d
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Mon Feb 8 23:51:56 2021 +0100
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Mon Feb 8 23:53:41 2021 +0100

typo: fixes

forgotten merge from last batch.

---
 lib/snapshot/snapshot.c     | 2 +-
 lib/writecache/writecache.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
lib/snapshot/snapshot.c +1 -1
index b832f890d..8446a6914 100644
@@ -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 ||
lib/writecache/writecache.c +1 -1
index d114d698c..aa2113271 100644
@@ -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;