diff options
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/reboot/reboot.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c index be8911f..7f42e56 100644 --- a/sbin/reboot/reboot.c +++ b/sbin/reboot/reboot.c @@ -123,7 +123,7 @@ main(int argc, char *argv[]) } if (kflag) { - fd = open("/boot/nextkernel", O_WRONLY | O_CREAT, 0444); + fd = open("/boot/nextboot.conf", O_WRONLY | O_CREAT, 0444); if (fd > -1) { (void)write(fd, "kernel=\"", 8L); (void)write(fd, kernel, strlen(kernel)); |