diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/macppc/stand/Locore.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/arch/macppc/stand/Locore.c b/sys/arch/macppc/stand/Locore.c index 16255a14ffd..30677a05b61 100644 --- a/sys/arch/macppc/stand/Locore.c +++ b/sys/arch/macppc/stand/Locore.c @@ -1,4 +1,4 @@ -/* $OpenBSD: Locore.c,v 1.2 2001/09/05 22:32:39 deraadt Exp $ */ +/* $OpenBSD: Locore.c,v 1.3 2001/10/01 22:44:26 drahn Exp $ */ /* $NetBSD: Locore.c,v 1.1 1997/04/16 20:29:11 thorpej Exp $ */ /* @@ -571,6 +571,10 @@ setup() || OF_getprop(chosen, "stdout", &stdout, sizeof(stdout)) != sizeof(stdout)) _rtt(); + if (stdout == 0) { + /* screen should be console, but it is not open */ + stdout = OF_open("screen"); + } } void |