Преглед на файлове

fix broken reboot wrapper (syscall needs extra silly magic arguments...)

Rich Felker преди 13 години
родител
ревизия
c07daf0f2f
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/linux/reboot.c

+ 1 - 1
src/linux/reboot.c

@@ -3,5 +3,5 @@
 
 
 int reboot(int type)
 int reboot(int type)
 {
 {
-	return syscall(SYS_reboot, type);
+	return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
 }
 }