summaryrefslogtreecommitdiffstats
path: root/lib/grammar_sandbox_main.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 /lib/grammar_sandbox_main.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 'lib/grammar_sandbox_main.c')
-rw-r--r--lib/grammar_sandbox_main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/grammar_sandbox_main.c b/lib/grammar_sandbox_main.c
index fa925c464..681d4da44 100644
--- a/lib/grammar_sandbox_main.c
+++ b/lib/grammar_sandbox_main.c
@@ -42,9 +42,9 @@ int main(int argc, char **argv)
openzlog ("grammar_sandbox", "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, LOG_DEBUG);
- zlog_set_level (NULL, ZLOG_DEST_MONITOR, ZLOG_DISABLED);
+ zlog_set_level (ZLOG_DEST_SYSLOG, ZLOG_DISABLED);
+ zlog_set_level (ZLOG_DEST_STDOUT, LOG_DEBUG);
+ zlog_set_level (ZLOG_DEST_MONITOR, ZLOG_DISABLED);
/* Library inits. */
cmd_init (1);