summaryrefslogtreecommitdiffhomepage
path: root/utility.c
diff options
context:
space:
mode:
authorErik Andersen <andersen@codepoet.org>2000-03-17 01:12:41 +0000
committerErik Andersen <andersen@codepoet.org>2000-03-17 01:12:41 +0000
commit6273f655c8e5a1b7233f94fd606ceaed95b9c7a7 (patch)
treead754ea972e52bb21db4323d916bacfb4f1c3f07 /utility.c
parent161220c4985b8c05a57f09b2693a6cad74d2e81d (diff)
Several fixes.
-Erik
Diffstat (limited to 'utility.c')
-rw-r--r--utility.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/utility.c b/utility.c
index 4b26a1b76..c274bfa15 100644
--- a/utility.c
+++ b/utility.c
@@ -1247,8 +1247,7 @@ extern int device_open(char *device, int mode)
#endif /* BB_INIT BB_SYSLOGD */
-#if defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF )
-
+#if defined BB_KILLALL || ( defined BB_FEATURE_LINUXRC && ( defined BB_HALT || defined BB_REBOOT || defined BB_POWEROFF ))
#ifdef BB_FEATURE_USE_DEVPS_PATCH
#include <linux/devps.h>
#endif
@@ -1363,7 +1362,7 @@ extern pid_t findPidByName( char* pidName)
return 0;
}
#endif /* BB_FEATURE_USE_DEVPS_PATCH */
-#endif /* BB_INIT || BB_HALT || BB_REBOOT || BB_POWEROFF */
+#endif /* BB_KILLALL || ( BB_FEATURE_LINUXRC && ( BB_HALT || BB_REBOOT || BB_POWEROFF )) */
#if defined BB_GUNZIP \
|| defined BB_GZIP \