fix broken reboot wrapper (syscall needs extra silly magic arguments...)
authorRich Felker <dalias@aerifal.cx>
Sat, 24 Dec 2011 00:13:48 +0000 (19:13 -0500)
committerRich Felker <dalias@aerifal.cx>
Sat, 24 Dec 2011 00:13:48 +0000 (19:13 -0500)
src/linux/reboot.c

index 240dac5..7f12af7 100644 (file)
@@ -3,5 +3,5 @@
 
 int reboot(int type)
 {
 
 int reboot(int type)
 {
-       return syscall(SYS_reboot, type);
+       return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
 }
 }