projects
/
platform
/
upstream
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3603f79
)
Removed the incorrect and confusing facility argument specified with
author
Peter Kjellerstedt
<peter.kjellerstedt@axis.com>
Wed, 6 Apr 2005 10:56:57 +0000
(10:56 -0000)
committer
Peter Kjellerstedt
<peter.kjellerstedt@axis.com>
Wed, 6 Apr 2005 10:56:57 +0000
(10:56 -0000)
openlog() as the correct facility will be specified with syslog()
anyway.
sysklogd/logger.c
patch
|
blob
|
history
diff --git
a/sysklogd/logger.c
b/sysklogd/logger.c
index
1615531
..
fee33b7
100644
(file)
--- a/
sysklogd/logger.c
+++ b/
sysklogd/logger.c
@@
-127,7
+127,7
@@
extern int logger_main(int argc, char **argv)
}
}
- openlog(name, option,
(pri | LOG_FACMASK)
);
+ openlog(name, option,
0
);
if (optind == argc) {
do {
/* read from stdin */
@@
-152,8
+152,8
@@
extern int logger_main(int argc, char **argv)
message = xrealloc(message, len);
if(!i)
message[0] = 0;
-
else
- strcat(message, " ");
+ else
+
strcat(message, " ");
strcat(message, *argv);
argv++;
}