projects
/
project
/
mountd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
mount: struct mount: replace "mounted" and "ignore" fileds with a "status"
[project/mountd.git]
/
log.c
diff --git
a/log.c
b/log.c
index
263e1d5
..
8ef4d5a
100644
(file)
--- a/
log.c
+++ b/
log.c
@@
-2,6
+2,8
@@
#include <syslog.h>
#include <stdarg.h>
+#include "include/log.h"
+
extern int daemonize;
void log_start(void)
@@
-24,7
+26,7
@@
void log_printf(char *fmt, ...)
va_end(ap);
if(daemonize)
- syslog(10, p);
+ syslog(10,
"%s",
p);
else
- printf(p);
+ printf(
"%s",
p);
}