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 240dac5aee1c56817648c8881a2327e728da3724..7f12af79bc1ba13220cfca6f0c48357546019246 100644 (file)
@@ -3,5 +3,5 @@
 
 int reboot(int type)
 {
-       return syscall(SYS_reboot, type);
+       return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
 }