summaryrefslogtreecommitdiff
path: root/usr.sbin/radiusd/radiusd_radius.c
diff options
context:
space:
mode:
authorYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-08-02 21:27:28 +0000
committerYASUOKA Masahiko <yasuoka@cvs.openbsd.org>2015-08-02 21:27:28 +0000
commit58674006f5f58a8e2e3a93f0dcf6bf77d2f4975c (patch)
tree2ccd1460e1111c2a5fb0b70b5d128923cec6c9ef /usr.sbin/radiusd/radiusd_radius.c
parent68ee977cf2929200c995880e71ac8a1bf3b1ef08 (diff)
Fix radiusd_radius to use syslog(3). It had used stderr for debug.
Diffstat (limited to 'usr.sbin/radiusd/radiusd_radius.c')
-rw-r--r--usr.sbin/radiusd/radiusd_radius.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/radiusd/radiusd_radius.c b/usr.sbin/radiusd/radiusd_radius.c
index 6659882a2cc..1e8269844f8 100644
--- a/usr.sbin/radiusd/radiusd_radius.c
+++ b/usr.sbin/radiusd/radiusd_radius.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: radiusd_radius.c,v 1.6 2015/07/30 09:21:51 yasuoka Exp $ */
+/* $OpenBSD: radiusd_radius.c,v 1.7 2015/08/02 21:27:27 yasuoka Exp $ */
/*
* Copyright (c) 2013 Internet Initiative Japan Inc.
@@ -127,7 +127,7 @@ main(int argc, char *argv[])
setproctitle("[main]");
module_load(module_radius.base);
- log_init(1);
+ log_init(0);
event_init();
module_start(module_radius.base);
event_loop(0);