mirror of https://git.musl-libc.org/git/musl
1 changed files with 2 additions and 3 deletions
@ -1,8 +1,7 @@ |
|||||
#include <sys/reboot.h> |
#include <sys/reboot.h> |
||||
#include <errno.h> |
#include "syscall.h" |
||||
|
|
||||
int reboot(int type) |
int reboot(int type) |
||||
{ |
{ |
||||
errno = ENOSYS; |
return syscall(SYS_reboot, type); |
||||
return -1; |
|
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue