aboutsummaryrefslogtreecommitdiff
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 ca5c15340..e21ad57cc 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -35,7 +35,7 @@ RB_AUTOBOOT
35 for (which = 0; "hpr"[which] != *applet_name; which++); 35 for (which = 0; "hpr"[which] != *applet_name; which++);
36 36
37 /* Parse and handle arguments */ 37 /* Parse and handle arguments */
38 flags = getopt32(argc, argv, "d:nf", &delay); 38 flags = getopt32(argv, "d:nf", &delay);
39 if (flags & 1) sleep(xatou(delay)); 39 if (flags & 1) sleep(xatou(delay));
40 if (!(flags & 2)) sync(); 40 if (!(flags & 2)) sync();
41 41