소스 검색

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);
 }