diff options
Diffstat (limited to 'networking')
-rw-r--r-- | networking/httpd.c | 2 | ||||
-rw-r--r-- | networking/zcip.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/networking/httpd.c b/networking/httpd.c index 7ee62c3..d80df93 100644 --- a/networking/httpd.c +++ b/networking/httpd.c @@ -986,7 +986,7 @@ static int sendCgi(const char *url, * since httpd is run from inetd (and it can't run standalone * in uClinux). */ -#ifdef BB_NOMMU +#if !BB_MMU pid = vfork(); #else pid = fork(); diff --git a/networking/zcip.c b/networking/zcip.c index 552833f..eb3c869 100644 --- a/networking/zcip.c +++ b/networking/zcip.c @@ -220,7 +220,7 @@ int zcip_main(int argc, char **argv) } } // On NOMMU reexec early (or else we will rerun things twice) -#ifdef BB_NOMMU +#if !BB_MMU if (!FOREGROUND) bb_daemonize_or_rexec(DAEMON_CHDIR_ROOT, argv); #endif @@ -268,7 +268,7 @@ int zcip_main(int argc, char **argv) // daemonize now; don't delay system startup if (!FOREGROUND) { -#ifndef BB_NOMMU +#if BB_MMU bb_daemonize(DAEMON_CHDIR_ROOT); #endif bb_info_msg("start, interface %s", intf); |