aboutsummaryrefslogtreecommitdiff
path: root/init/reboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/reboot.c')
-rw-r--r--init/reboot.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/init/reboot.c b/init/reboot.c
index 0388fbce7..f915205ea 100644
--- a/init/reboot.c
+++ b/init/reboot.c
@@ -1,12 +1,8 @@
#include "internal.h"
#include <signal.h>
-const char reboot_usage[] = "reboot\n"
-"\n\t"
-"\treboot the system.\n";
-
extern int
-reboot_main(struct FileInfo * i, int argc, char * * argv)
+reboot_main(int argc, char ** argv)
{
- return kill(1, SIGUSR2);
+ exit( kill(1, SIGUSR2));
}