diff options
author | Joel Sing <jsing@cvs.openbsd.org> | 2008-03-28 02:50:03 +0000 |
---|---|---|
committer | Joel Sing <jsing@cvs.openbsd.org> | 2008-03-28 02:50:03 +0000 |
commit | 930c8d41d6b5ebaa73de08a5fa225a5963f3f9f7 (patch) | |
tree | 56c7a43fb89e9738347414849804d93a24e90e4c /sys | |
parent | b547671fdac415c2b774e3bbeaf30e26af662578 (diff) |
If we fail to load the kernel, drop the user into interactive mode of ARCS,
rather than just rebooting.
ok deraadt@, miod@, jasper@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sgi/stand/boot/boot.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/arch/sgi/stand/boot/boot.c b/sys/arch/sgi/stand/boot/boot.c index 0bc0e1b7cc5..4c9045e2108 100644 --- a/sys/arch/sgi/stand/boot/boot.c +++ b/sys/arch/sgi/stand/boot/boot.c @@ -1,4 +1,4 @@ -/* $OpenBSD: boot.c,v 1.9 2008/03/08 16:52:28 jsing Exp $ */ +/* $OpenBSD: boot.c,v 1.10 2008/03/28 02:50:02 jsing Exp $ */ /* * Copyright (c) 2004 Opsycon AB, www.opsycon.se. @@ -113,8 +113,8 @@ main(int argc, char *argv[]) ((void (*)())entry)(argc, argv); /* We failed to load the kernel. */ - printf("Boot FAILED!\n "); - Bios_Restart(); + printf("Boot FAILED!\n"); + Bios_EnterInteractiveMode(); } /* |