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

fix stubbed-out reboot call

上级 4717bfec
#include <sys/reboot.h>
#include <errno.h>
#include "syscall.h"
int reboot(int type)
{
errno = ENOSYS;
return -1;
return syscall(SYS_reboot, type);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册