Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/stand/boot Reset has_prekern if pkboot fails. ...
details: https://anonhg.NetBSD.org/src/rev/06759e5e9fcf
branches: trunk
changeset: 356763:06759e5e9fcf
user: maxv <maxv%NetBSD.org@localhost>
date: Wed Oct 11 09:53:14 2017 +0000
description:
Reset has_prekern if pkboot fails. Otherwise here:
pkboot wrong_kernel_path
boot netbsd
the prekern still gets invoked in the second command.
diffstat:
sys/arch/i386/stand/boot/boot2.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diffs (17 lines):
diff -r c41df3f8ed32 -r 06759e5e9fcf sys/arch/i386/stand/boot/boot2.c
--- a/sys/arch/i386/stand/boot/boot2.c Wed Oct 11 08:29:17 2017 +0000
+++ b/sys/arch/i386/stand/boot/boot2.c Wed Oct 11 09:53:14 2017 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: boot2.c,v 1.67 2017/10/07 10:26:38 maxv Exp $ */
+/* $NetBSD: boot2.c,v 1.68 2017/10/11 09:53:14 maxv Exp $ */
/*-
* Copyright (c) 2008, 2009 The NetBSD Foundation, Inc.
@@ -477,6 +477,7 @@
extern int has_prekern;
has_prekern = 1;
command_boot(arg);
+ has_prekern = 0;
}
void
Home |
Main Index |
Thread Index |
Old Index