]> sourceware.org Git - lvm2.git/commitdiff
libdaemon: fix typo in last log enable commit
authorDavid Teigland <teigland@redhat.com>
Wed, 21 Oct 2015 16:22:22 +0000 (11:22 -0500)
committerDavid Teigland <teigland@redhat.com>
Wed, 21 Oct 2015 16:22:22 +0000 (11:22 -0500)
libdaemon/server/daemon-log.c

index abe602b3ff03fd1edfa86d6f039a572de91b6870..2bebf41b1ae433fb1cd6d6fbc75eea0440472b13 100644 (file)
@@ -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);
This page took 0.038023 seconds and 5 git commands to generate.