fix stubbed-out reboot call

This commit is contained in:
Rich Felker committed 2011-08-02 21:22:56 -04:00
1 parent 4717bfec70
commit 4f5ba9211e
1 file changed
+2 -3
+2 -3
View File
@@ -1,8 +1,7 @@
#include <sys/reboot.h>
#include <errno.h>
#include "syscall.h"
int reboot(int type)
{
errno = ENOSYS;
return -1;
return syscall(SYS_reboot, type);
}