projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5d78fe
)
fix broken reboot wrapper (syscall needs extra silly magic arguments...)
author
Rich Felker
<dalias@aerifal.cx>
Sat, 24 Dec 2011 00:13:48 +0000
(19:13 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Sat, 24 Dec 2011 00:13:48 +0000
(19:13 -0500)
src/linux/reboot.c
patch
|
blob
|
history
diff --git
a/src/linux/reboot.c
b/src/linux/reboot.c
index 240dac5aee1c56817648c8881a2327e728da3724..7f12af79bc1ba13220cfca6f0c48357546019246 100644
(file)
--- 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);
}