aboutsummaryrefslogtreecommitdiff
path: root/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'reboot.c')
-rw-r--r--reboot.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/reboot.c b/reboot.c
index 1339a60f4..ef2a848ee 100644
--- a/reboot.c
+++ b/reboot.c
@@ -1,3 +1,4 @@
1/* vi: set sw=4 ts=4: */
1/* 2/*
2 * Mini reboot implementation for busybox 3 * Mini reboot implementation for busybox
3 * 4 *
@@ -23,9 +24,8 @@
23#include "internal.h" 24#include "internal.h"
24#include <signal.h> 25#include <signal.h>
25 26
26extern int 27extern int reboot_main(int argc, char **argv)
27reboot_main(int argc, char ** argv)
28{ 28{
29 /* don't assume init's pid == 1 */ 29 /* don't assume init's pid == 1 */
30 exit( kill(findInitPid(), SIGINT)); 30 exit(kill(findInitPid(), SIGINT));
31} 31}