Add in some (theoretical) uClinux support. Some init cleanups

This commit is contained in:
Eric Andersen
2001-10-28 05:12:20 +00:00
parent 9af363fe20
commit 72f9a4277f
7 changed files with 82 additions and 51 deletions

View File

@@ -630,8 +630,12 @@ extern int syslogd_main(int argc, char **argv)
umask(0);
if (doFork == TRUE) {
#if !defined(__UCLIBC__) || defined(__UCLIBC_HAS_MMU__)
if (daemon(0, 1) < 0)
perror_msg_and_die("daemon");
#else
error_msg_and_die("daemon not supported");
#endif
}
doSyslogd();