diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/arch/sparc64/sparc64/ofw_machdep.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/arch/sparc64/sparc64/ofw_machdep.c b/sys/arch/sparc64/sparc64/ofw_machdep.c index d27bdb06e8a..16e7c63f9e3 100644 --- a/sys/arch/sparc64/sparc64/ofw_machdep.c +++ b/sys/arch/sparc64/sparc64/ofw_machdep.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ofw_machdep.c,v 1.3 2001/08/20 20:23:53 jason Exp $ */ +/* $OpenBSD: ofw_machdep.c,v 1.4 2002/01/03 22:09:35 jason Exp $ */ /* $NetBSD: ofw_machdep.c,v 1.16 2001/07/20 00:07:14 eeh Exp $ */ /* @@ -557,15 +557,15 @@ prom_get_msgbuf(len, align) * Low-level prom I/O routines. */ -static u_int stdin = NULL; -static u_int stdout = NULL; +static u_int stdin; +static u_int stdout; int OF_stdin() { u_int chosen; - if (stdin != NULL) + if (stdin != 0) return stdin; chosen = OF_finddevice("/chosen"); @@ -578,7 +578,7 @@ OF_stdout() { u_int chosen; - if (stdout != NULL) + if (stdout != 0) return stdout; chosen = OF_finddevice("/chosen"); |