aboutsummaryrefslogtreecommitdiff
path: root/sbin/reboot
diff options
context:
space:
mode:
authorWes Peters <wes@FreeBSD.org>2002-04-26 22:32:15 +0000
committerWes Peters <wes@FreeBSD.org>2002-04-26 22:32:15 +0000
commit83739172576b0403664d8248bcf538afd573891c (patch)
tree3ab4ef06a0781ac61fabd628f125780ff42d7146 /sbin/reboot
parent62efba6a0cce291222739d974ec2a7ed2803260d (diff)
downloadsrc-83739172576b0403664d8248bcf538afd573891c.tar.gz
src-83739172576b0403664d8248bcf538afd573891c.zip
Notes
Diffstat (limited to 'sbin/reboot')
-rw-r--r--sbin/reboot/reboot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/reboot/reboot.c b/sbin/reboot/reboot.c
index be8911fbd84e..7f42e5625cdd 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));