summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2004-08-08 20:11:32 +0000
committermiod <miod@openbsd.org>2004-08-08 20:11:32 +0000
commit782a6e18950e42c015ab1098053352389bf6327a (patch)
tree334cab6183d5e36bf3136e45993acb5222be7796
parentspacing (diff)
downloadwireguard-openbsd-782a6e18950e42c015ab1098053352389bf6327a.tar.xz
wireguard-openbsd-782a6e18950e42c015ab1098053352389bf6327a.zip
Do not panic if OF_poweroff() returns, this is handled correctly by
the caller.
-rw-r--r--sys/arch/sparc64/sparc64/openfirm.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/arch/sparc64/sparc64/openfirm.c b/sys/arch/sparc64/sparc64/openfirm.c
index 0bd1b640b33..9e68a00179a 100644
--- a/sys/arch/sparc64/sparc64/openfirm.c
+++ b/sys/arch/sparc64/sparc64/openfirm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: openfirm.c,v 1.9 2004/01/07 20:44:56 pvalchev Exp $ */
+/* $OpenBSD: openfirm.c,v 1.10 2004/08/08 20:11:32 miod Exp $ */
/* $NetBSD: openfirm.c,v 1.13 2001/06/21 00:08:02 eeh Exp $ */
/*
@@ -662,7 +662,6 @@ OF_poweroff()
args.nargs = 0;
args.nreturns = 0;
openfirmware(&args);
- panic("OF_poweroff failed");
}
void