Skip to contentSkip to conversation

master - dmeventd: fix missing '!'

PATCH Zdenek Kabelac 1 participant 1 message Oct 13, 2015

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=3f1a3b7090d421d46f245454bc5c8ed299a9cc1d
Commit:        3f1a3b7090d421d46f245454bc5c8ed299a9cc1d
Parent:        a91fbe9d27a79b4be7fad72fc7a1ba2a976ecd41
Author:        Zdenek Kabelac <[email protected]>
AuthorDate:    Tue Oct 13 22:10:47 2015 +0200
Committer:     Zdenek Kabelac <[email protected]>
CommitterDate: Tue Oct 13 22:10:47 2015 +0200

dmeventd: fix missing '!'

During recent code changes '!' was badly converted.

---
 .../dmeventd/plugins/snapshot/dmeventd_snapshot.c  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/dmeventd/plugins/snapshot/dmeventd_snapshot.c +1 -1
index aebe5f9..d5575f3 100644
@@ -201,7 +201,7 @@ int register_device(const char *device,
 {
 	struct dso_state *state;
 
-	if (dmeventd_lvm2_init_with_pool("snapshot_state", state))
+	if (!dmeventd_lvm2_init_with_pool("snapshot_state", state))
 		goto_bad;
 
 	if (!dmeventd_lvm2_command(state->mem, state->cmd_lvextend,