From 283e406cb0cad12aa5fc7e76ba5c1e8c81ca06cb Mon Sep 17 00:00:00 2001 From: mrg Date: Thu, 31 May 2001 08:55:19 +0000 Subject: [PATCH] drop to prom on "halt" as well. --- sys/arch/sparc/stand/ofwboot/boot.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc/stand/ofwboot/boot.c b/sys/arch/sparc/stand/ofwboot/boot.c index 6baa20e0585a..175777204dab 100644 --- a/sys/arch/sparc/stand/ofwboot/boot.c +++ b/sys/arch/sparc/stand/ofwboot/boot.c @@ -1,4 +1,4 @@ -/* $NetBSD: boot.c,v 1.2 2000/09/24 12:32:39 jdolecek Exp $ */ +/* $NetBSD: boot.c,v 1.3 2001/05/31 08:55:19 mrg Exp $ */ #define DEBUG /* * Copyright (c) 1997, 1999 Eduardo E. Horvath. All rights reserved. @@ -128,7 +128,7 @@ parseargs(str, howtop) int i; /* Allow user to drop back to the PROM. */ - if (strcmp(str, "exit") == 0) + if (strcmp(str, "exit") == 0 || strcmp(str, "halt") == 0) _rtt(); /* Insert the kernel name if it is not there. */