summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorwes <wes@FreeBSD.org>2002-04-26 22:32:15 +0000
committerwes <wes@FreeBSD.org>2002-04-26 22:32:15 +0000
commit210f257e4eb7a570fe8997526a8bbd80f41ee823 (patch)
tree3ab4ef06a0781ac61fabd628f125780ff42d7146 /sbin
parent4c421c0b9ae9234da0ad13acf4a33aa4662ef007 (diff)
downloadFreeBSD-src-210f257e4eb7a570fe8997526a8bbd80f41ee823.zip
FreeBSD-src-210f257e4eb7a570fe8997526a8bbd80f41ee823.tar.gz
Rename the file used to specify the nextboot to make it clear that this
is a loader configuration file and can be used for more than just a kernel name. Submitted by: Gordon Tetlow <gordont@gnf.org>
Diffstat (limited to 'sbin')
-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 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));
OpenPOWER on IntegriCloud