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 /networking/dnsd.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 'networking/dnsd.c')
-rw-r--r-- | networking/dnsd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/networking/dnsd.c b/networking/dnsd.c index 58a8fc1d2..f8bd07e10 100644 --- a/networking/dnsd.c +++ b/networking/dnsd.c @@ -92,7 +92,7 @@ static void convname(char *a, uint8_t *q) } /* - * Insert length of substrings insetad of dots + * Insert length of substrings instead of dots */ static void undot(uint8_t * rip) { @@ -393,12 +393,12 @@ int dnsd_main(int argc, char **argv) } if(is_daemon()) -#if defined(__uClinux__) +#ifdef BB_NOMMU /* reexec for vfork() do continue parent */ vfork_daemon_rexec(1, 0, argc, argv, "-d"); -#else /* uClinux */ +#else bb_xdaemon(1, 0); -#endif /* uClinuvx */ +#endif dnsentryinit(is_verbose()); |