From 01dbb962cbb1ea6871ad1ee0c73461cd68511745 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Tue, 26 Feb 2008 07:41:16 +0100 Subject: Rename syslog parameter --- src/log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/log.c') diff --git a/src/log.c b/src/log.c index 867928ce..83466d22 100644 --- a/src/log.c +++ b/src/log.c @@ -66,11 +66,11 @@ void connman_debug(const char *format, ...) va_end(ap); } -int __connman_log_init(int syslog, int debug) +int __connman_log_init(int detach, int debug) { int option = LOG_NDELAY | LOG_PID; - if (!syslog) + if (!detach) option |= LOG_PERROR; openlog("connmand", option, LOG_DAEMON); -- cgit v1.2.3