Browse Source

fix stubbed-out reboot call

rs-1.0
Rich Felker 15 years ago
parent
commit
4f5ba9211e
  1. 5
      src/linux/reboot.c

5
src/linux/reboot.c

@ -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…
Cancel
Save