projects
/
connman
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Also check for the plugin suffix
[connman]
/
src
/
log.c
diff --git
a/src/log.c
b/src/log.c
index
867928c
..
83466d2
100644
(file)
--- 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);