summaryrefslogtreecommitdiff
path: root/init/poweroff.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/poweroff.c')
-rw-r--r--init/poweroff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/poweroff.c b/init/poweroff.c
index db20a45..cec2d6d 100644
--- 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) {