diff options
author | Eric Andersen <andersen@codepoet.org> | 2001-10-28 08:12:20 +0300 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2001-10-28 08:12:20 +0300 |
commit | 72f9a4277fe5ad7c6c6b9a9810d469cc7fcc3c71 (patch) | |
tree | 5dbf1995f603a95960c0ef94558954091ce7beef /sysklogd/klogd.c | |
parent | 9af363fe20002c7390966d4b71fcdee27b3686ba (diff) |
Add in some (theoretical) uClinux support. Some init cleanups
Diffstat (limited to 'sysklogd/klogd.c')
-rw-r--r-- | sysklogd/klogd.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c index 33bc783fe..52a815d56 100644 --- a/sysklogd/klogd.c +++ b/sysklogd/klogd.c @@ -136,8 +136,12 @@ extern int klogd_main(int argc, char **argv) } 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 } doKlogd(); |