projects
/
oweals
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Major rework of the directory structure and the entire build system.
[oweals/busybox.git]
/
init
/
poweroff.c
diff --git
a/init/poweroff.c
b/init/poweroff.c
index db20a45729fb77cece440a3c2cc24179db5607ab..cec2d6dddcadaf45d93ee4ad4492104eea1d12d7 100644
(file)
--- a/
init/poweroff.c
+++ b/
init/poweroff.c
@@
-26,7
+26,7
@@
extern int poweroff_main(int argc, char **argv)
{
-#ifdef
BB_FEATURE_LINUXRC
+#ifdef
CONFIG_FEATURE_INITRD
/* don't assume init's pid == 1 */
pid_t *pid = find_pid_by_name("init");
if (!pid || *pid<=0) {