OSDN Git Service
(root)
/
opengatem
/
opengatem.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fixed CLang warning messages and other
[opengatem/opengatem.git]
/
mngsrc
/
error.c
diff --git
a/mngsrc/error.c
b/mngsrc/error.c
index
80e7062
..
67bdc12
100644
(file)
--- a/
mngsrc/error.c
+++ b/
mngsrc/error.c
@@
-117,7
+117,7
@@
err_doit(int errnoflag, int level, const char *fmt, va_list ap)
strcat(buf, "\n");
if (daemon_proc) {
- syslog(level, buf);
+ syslog(level,
"%s",
buf);
} else {
fflush(stdout); /* in case stdout and stderr are the same */
fputs(buf, stderr);