summaryrefslogtreecommitdiffstats
path: root/nhrpd/nhrp_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 /nhrpd/nhrp_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 'nhrpd/nhrp_main.c')
-rw-r--r--nhrpd/nhrp_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nhrpd/nhrp_main.c b/nhrpd/nhrp_main.c
index 963399985..2f6ee1c04 100644
--- a/nhrpd/nhrp_main.c
+++ b/nhrpd/nhrp_main.c
@@ -77,7 +77,7 @@ static void parse_arguments(int argc, char **argv)
static void nhrp_sigusr1(void)
{
- zlog_rotate(NULL);
+ zlog_rotate();
}
static void nhrp_request_stop(void)
@@ -99,7 +99,7 @@ static void nhrp_request_stop(void)
debugf(NHRP_DEBUG_COMMON, "Done.");
- closezlog(zlog_default);
+ closezlog();
exit(0);
}