diff options
author | Florian Obser <florian@cvs.openbsd.org> | 2019-04-10 19:41:04 +0000 |
---|---|---|
committer | Florian Obser <florian@cvs.openbsd.org> | 2019-04-10 19:41:04 +0000 |
commit | f27d348a56f72ad4b8458532afa076f51fc53b19 (patch) | |
tree | a663366a2489a631257bce078c1b40a0f69a8d28 /sys/stand | |
parent | af3f57581473251fbe1dd0188f44169d81143d45 (diff) |
Unbreak "boot bsd.up" line in /etc/boot.conf
Found the hard way by Raf Czlonka (rczlonka AT gmail), thanks!
OK deraadt
Diffstat (limited to 'sys/stand')
-rw-r--r-- | sys/stand/boot/boot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/stand/boot/boot.c b/sys/stand/boot/boot.c index ea452c54ece..31a2ddf8a0a 100644 --- a/sys/stand/boot/boot.c +++ b/sys/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.47 2019/04/10 04:17:37 deraadt Exp $ */ +/* $OpenBSD: boot.c,v 1.48 2019/04/10 19:41:03 florian Exp $ */ /* * Copyright (c) 2003 Dale Rahn @@ -76,13 +76,13 @@ boot(dev_t bootdev) cmd.addr = (void *)DEFAULT_KERNEL_ADDRESS; cmd.timeout = boottimeout; - st = read_conf(); - if (upgrade()) { strlcpy(cmd.image, "/bsd.upgrade", sizeof(cmd.image)); printf("upgrade detected: switching to %s\n", cmd.image); } + st = read_conf(); + #ifdef HIBERNATE int bootdev_has_hibernate(void); |