From bb0f8ef5590225445a488612b450768b982253c0 Mon Sep 17 00:00:00 2001 From: eeh Date: Sat, 22 May 1999 20:30:54 +0000 Subject: [PATCH] Fix OF_stdin() to return "stdin" not "stdout" so we really can get console input. --- sys/arch/sparc64/sparc64/ofw_machdep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sparc64/sparc64/ofw_machdep.c b/sys/arch/sparc64/sparc64/ofw_machdep.c index f7735bbc33e7..243b6f46c72e 100644 --- a/sys/arch/sparc64/sparc64/ofw_machdep.c +++ b/sys/arch/sparc64/sparc64/ofw_machdep.c @@ -1,4 +1,4 @@ -/* $NetBSD: ofw_machdep.c,v 1.7 1999/01/10 14:41:45 mrg Exp $ */ +/* $NetBSD: ofw_machdep.c,v 1.8 1999/05/22 20:30:54 eeh Exp $ */ /* * Copyright (C) 1996 Wolfgang Solfrank. @@ -555,7 +555,7 @@ OF_stdin() u_int chosen; chosen = OF_finddevice("/chosen"); - OF_getprop(chosen, "stdout", &stdin, sizeof(stdin)); + OF_getprop(chosen, "stdin", &stdin, sizeof(stdin)); } return stdin; }