From: Rich Felker Date: Sat, 24 Dec 2011 00:13:48 +0000 (-0500) Subject: fix broken reboot wrapper (syscall needs extra silly magic arguments...) X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=c07daf0f2f696392c01ad97ad23ef01aa3cdf263 fix broken reboot wrapper (syscall needs extra silly magic arguments...) --- 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); }