diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-31 14:19:51 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-05-31 14:19:51 +0400 |
commit | c418d482baf414ef3f08a95ab99da7091f358b89 (patch) | |
tree | 4bcf7032041b501464f38ff9715f98453bebcbaf /sysklogd/klogd.c | |
parent | 507cd755a44628ced60acfa568b402cdf2f5547b (diff) |
- s/defined(__uClinux__)/BB_NOMMU/
This needs a second pass to:
+ add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag)
+ eventually globally export argc and argv, so we don't need to pass it to
bb_daemon().
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r-- | sysklogd/klogd.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index 95a35c25e..cd152a570 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -118,11 +118,11 @@ int klogd_main(int argc, char **argv) } if (!(opt & OPT_FOREGROUND)) { -#if defined(__uClinux__) +#ifdef BB_NOMMU vfork_daemon_rexec(0, 1, argc, argv, "-n"); -#else /* __uClinux__ */ +#else bb_xdaemon(0, 1); -#endif /* __uClinux__ */ +#endif } doKlogd(console_log_level); |