summaryrefslogtreecommitdiff
path: root/reboot.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>1999-12-09 22:39:55 +0000
committerEric Andersen <andersen@codepoet.org>1999-12-09 22:39:55 +0000
commit6805d5d69e9c2be264e62cf53c86ca3e5a929d31 (patch)
tree2ab43322a4fc33782d322ef029d33a46f3e8c5dd /reboot.c
parentf95ca97d1bb94307ee0b8ed95d329dc9d6ccec85 (diff)
downloadbusybox-w32-6805d5d69e9c2be264e62cf53c86ca3e5a929d31.tar.gz
busybox-w32-6805d5d69e9c2be264e62cf53c86ca3e5a929d31.tar.bz2
busybox-w32-6805d5d69e9c2be264e62cf53c86ca3e5a929d31.zip
Adjustments for Johns init stuff,
-Erik
Diffstat (limited to 'reboot.c')
-rw-r--r--reboot.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/reboot.c b/reboot.c
index 17ec9f82f..ff2c6ad18 100644
--- a/reboot.c
+++ b/reboot.c
@@ -26,6 +26,6 @@
26extern int 26extern int
27reboot_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(), SIGUSR2)); 30 exit( kill(findInitPid(), SIGUSR2));
31} 31}