projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Move sed over to the generic llist_t for append. Saves about 90 bytes.
[oweals/busybox.git]
/
sysklogd
/
klogd.c
diff --git
a/sysklogd/klogd.c
b/sysklogd/klogd.c
index 51b01430e947885cb2e7ebd3639be41f0b4a1dcb..6dc5457af80dd152069c756c4b3a903a02e90767 100644
(file)
--- a/
sysklogd/klogd.c
+++ b/
sysklogd/klogd.c
@@
-121,8
+121,7
@@
int klogd_main(int argc, char **argv)
#if defined(__uClinux__)
vfork_daemon_rexec(0, 1, argc, argv, "-n");
#else /* __uClinux__ */
- if (daemon(0, 1) < 0)
- bb_perror_msg_and_die("daemon");
+ bb_xdaemon(0, 1);
#endif /* __uClinux__ */
}
doKlogd(console_log_level);