summaryrefslogtreecommitdiff
path: root/lib/command.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2016-02-23 11:59:36 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-08 00:15:39 +0100
commitbb85d700d564ef836af88c9d17190c2c39b93e21 (patch)
treeab62aa870ed3661104142ffa8556e40479ce4b46 /lib/command.c
parent4525281af19b5800ffce4bda83e0957d21ccad43 (diff)
lib: ditch struct zlog * argument on zlog/vzlog()
It's completely useless... Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/command.c')
-rw-r--r--lib/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/command.c b/lib/command.c
index d87381f1ef..10d36370d1 100644
--- a/lib/command.c
+++ b/lib/command.c
@@ -2163,7 +2163,7 @@ DEFUN (config_logmsg,
if ((level = level_match(argv[idx_log_level]->arg)) == ZLOG_DISABLED)
return CMD_ERR_NO_MATCH;
- zlog(NULL, level, "%s", ((message = argv_concat(argv, argc, idx_message)) ? message : ""));
+ zlog(level, "%s", ((message = argv_concat(argv, argc, idx_message)) ? message : ""));
if (message)
XFREE(MTYPE_TMP, message);