From c07daf0f2f696392c01ad97ad23ef01aa3cdf263 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 23 Dec 2011 19:13:48 -0500 Subject: [PATCH] fix broken reboot wrapper (syscall needs extra silly magic arguments...) --- src/linux/reboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/linux/reboot.c b/src/linux/reboot.c index 240dac5a..7f12af79 100644 --- a/src/linux/reboot.c +++ b/src/linux/reboot.c @@ -3,5 +3,5 @@ int reboot(int type) { - return syscall(SYS_reboot, type); + return syscall(SYS_reboot, 0xfee1dead, 672274793, type); } -- 2.20.1