From: David Teigland Date: Wed, 21 Oct 2015 16:22:22 +0000 (-0500) Subject: libdaemon: fix typo in last log enable commit X-Git-Tag: v2_02_133~100 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=a0d819172fde16913347e5c0984dc4d67ae6befe;p=lvm2.git libdaemon: fix typo in last log enable commit --- diff --git a/libdaemon/server/daemon-log.c b/libdaemon/server/daemon-log.c index abe602b3f..2bebf41b1 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);