[lvm-devel] master - libdaemon: fix typo in last log enable commit

David Teigland teigland at fedoraproject.org
Wed Oct 21 16:23:06 UTC 2015


Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=a0d819172fde16913347e5c0984dc4d67ae6befe
Commit:        a0d819172fde16913347e5c0984dc4d67ae6befe
Parent:        0aee04288e221de91de022d84d19424d4698a05c
Author:        David Teigland <teigland at redhat.com>
AuthorDate:    Wed Oct 21 11:22:22 2015 -0500
Committer:     David Teigland <teigland at redhat.com>
CommitterDate: Wed Oct 21 11:22:22 2015 -0500

libdaemon: fix typo in last log enable commit

---
 libdaemon/server/daemon-log.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libdaemon/server/daemon-log.c b/libdaemon/server/daemon-log.c
index abe602b..2bebf41 100644
--- a/libdaemon/server/daemon-log.c
+++ b/libdaemon/server/daemon-log.c
@@ -166,7 +166,7 @@ static int _parse_one(log_state *s, int outlet, const char *type, int enable)
 		daemon_log_enable(s, outlet, DAEMON_LOG_ERROR, enable);
 	else if (!strcmp(type, "warn"))
 		daemon_log_enable(s, outlet, DAEMON_LOG_WARN, enable);
-	else if (!strcmp(type, "warn"))
+	else if (!strcmp(type, "info"))
 		daemon_log_enable(s, outlet, DAEMON_LOG_INFO, enable);
 	else if (!strcmp(type, "wire"))
 		daemon_log_enable(s, outlet, DAEMON_LOG_WIRE, enable);




More information about the lvm-devel mailing list