summaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/halt.c b/init/halt.c
index d796a4a..2ac210e 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -31,7 +31,7 @@ RB_AUTOBOOT
int which, flags, rc = 1;
/* Figure out which applet we're running */
- for(which=0;delay[which]!=*bb_applet_name;which++);
+ for(which=0;delay[which]!=*applet_name;which++);
/* Parse and handle arguments */
flags = getopt32(argc, argv, "d:nf", &delay);