diff options
author | Rich Felker <dalias@aerifal.cx> | 2011-12-23 19:13:48 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2011-12-23 19:13:48 -0500 |
commit | c07daf0f2f696392c01ad97ad23ef01aa3cdf263 (patch) | |
tree | 322902f7eef2bc4930cfe52f3d368d14a09b4fce /src/linux | |
parent | e5d78fe8df9bd61940abcd98ad07ed69b7da4350 (diff) | |
download | musl-c07daf0f2f696392c01ad97ad23ef01aa3cdf263.tar.gz musl-c07daf0f2f696392c01ad97ad23ef01aa3cdf263.tar.xz musl-c07daf0f2f696392c01ad97ad23ef01aa3cdf263.zip |
fix broken reboot wrapper (syscall needs extra silly magic arguments...)
Diffstat (limited to 'src/linux')
-rw-r--r-- | src/linux/reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |