summaryrefslogtreecommitdiffstats
path: root/tests/lib/cli/common_cli.c
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2016-02-23 12:49:45 +0100
committerDavid Lamparter <equinox@opensourcerouting.org>2017-03-08 00:15:40 +0100
commitdd8376febd9523cf0e7263b9e5100f8af718d2b5 (patch)
tree68f2d46e633d212b8bf4045444c8242b636b091c /tests/lib/cli/common_cli.c
parentlib: simplify protocol/log naming (diff)
downloadfrr-dd8376febd9523cf0e7263b9e5100f8af718d2b5.tar.xz
frr-dd8376febd9523cf0e7263b9e5100f8af718d2b5.zip
lib: remove remaining struct zlog * args
These don't serve any purpose either. Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'tests/lib/cli/common_cli.c')
-rw-r--r--tests/lib/cli/common_cli.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/lib/cli/common_cli.c b/tests/lib/cli/common_cli.c
index 5176df189..56db46043 100644
--- a/tests/lib/cli/common_cli.c
+++ b/tests/lib/cli/common_cli.c
@@ -72,9 +72,9 @@ main (int argc, char **argv)
openzlog("common-cli", "NONE", 0, LOG_CONS | LOG_NDELAY | LOG_PID,
LOG_DAEMON);
- zlog_set_level (NULL, ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
- zlog_set_level (NULL, ZLOG_DEST_STDOUT, ZLOG_DISABLED);
- zlog_set_level (NULL, ZLOG_DEST_MONITOR, LOG_DEBUG);
+ zlog_set_level(ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
+ zlog_set_level(ZLOG_DEST_STDOUT, ZLOG_DISABLED);
+ zlog_set_level(ZLOG_DEST_MONITOR, LOG_DEBUG);
/* Library inits. */
cmd_init (1);