瀏覽代碼

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)
 {
-	return syscall(SYS_reboot, type);
+	return syscall(SYS_reboot, 0xfee1dead, 672274793, type);
 }