summaryrefslogtreecommitdiff
path: root/src/linux
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2011-12-23 19:13:48 -0500
committerRich Felker <dalias@aerifal.cx>2011-12-23 19:13:48 -0500
commitc07daf0f2f696392c01ad97ad23ef01aa3cdf263 (patch)
tree322902f7eef2bc4930cfe52f3d368d14a09b4fce /src/linux
parente5d78fe8df9bd61940abcd98ad07ed69b7da4350 (diff)
downloadmusl-c07daf0f2f696392c01ad97ad23ef01aa3cdf263.tar.gz
musl-c07daf0f2f696392c01ad97ad23ef01aa3cdf263.tar.bz2
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.c2
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);
}