aboutsummaryrefslogtreecommitdiff
path: root/sysklogd
diff options
context:
space:
mode:
Diffstat (limited to 'sysklogd')
-rw-r--r--sysklogd/klogd.c6
-rw-r--r--sysklogd/syslogd.c6
2 files changed, 6 insertions, 6 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);
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index deaee49c2..2e2681b67 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -670,11 +670,11 @@ int syslogd_main(int argc, char **argv)
umask(0);
if (doFork == TRUE) {
-#if defined(__uClinux__)
+#ifdef BB_NOMMU
vfork_daemon_rexec(0, 1, argc, argv, "-n");
-#else /* __uClinux__ */
+#else
bb_xdaemon(0, 1);
-#endif /* __uClinux__ */
+#endif
}
doSyslogd();