More stuff
[oweals/busybox.git] / reboot.c
index 0388fbce7656a75402b771a7a67b15dd10e93eb2..f915205eaf15bff161179b2751380be5b884b9c6 100644 (file)
--- a/reboot.c
+++ b/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));
 }