summaryrefslogtreecommitdiff
path: root/init/halt.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/halt.c')
-rw-r--r--init/halt.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/init/halt.c b/init/halt.c
index f3627f2..d1f561b 100644
--- a/init/halt.c
+++ b/init/halt.c
@@ -7,10 +7,9 @@
* Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
*/
+#include "busybox.h"
#include <signal.h>
#include <sys/reboot.h>
-#include "busybox.h"
-
#include <unistd.h>
int halt_main(int argc, char *argv[])
@@ -40,7 +39,7 @@ RB_AUTOBOOT
flags = bb_getopt_ulflags(argc, argv, "d:nf", &delay);
if (flags&1) sleep(atoi(delay));
if (!(flags&2)) sync();
-
+
/* Perform action. */
if (ENABLE_INIT && !(flags & 4)) {
if (ENABLE_FEATURE_INITRD) {