summaryrefslogtreecommitdiff
path: root/src/linux/reboot.c
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/reboot.c
parente5d78fe8df9bd61940abcd98ad07ed69b7da4350 (diff)
downloadmusl-c07daf0f2f696392c01ad97ad23ef01aa3cdf263.tar.gz
fix broken reboot wrapper (syscall needs extra silly magic arguments...)
Diffstat (limited to 'src/linux/reboot.c')
-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);
}