提交 4f5ba921 编写于 作者: R Rich Felker

fix stubbed-out reboot call

上级 4717bfec
#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;
} }
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册