Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/sparc64/sparc64 Fix OF_stdin() to return "stdin" no...



details:   https://anonhg.NetBSD.org/src/rev/305381a96029
branches:  trunk
changeset: 473156:305381a96029
user:      eeh <eeh%NetBSD.org@localhost>
date:      Sat May 22 20:30:54 1999 +0000

description:
Fix OF_stdin() to return "stdin" not "stdout" so we really can get console input.

diffstat:

 sys/arch/sparc64/sparc64/ofw_machdep.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 3850ea684a9f -r 305381a96029 sys/arch/sparc64/sparc64/ofw_machdep.c
--- a/sys/arch/sparc64/sparc64/ofw_machdep.c    Sat May 22 20:28:22 1999 +0000
+++ b/sys/arch/sparc64/sparc64/ofw_machdep.c    Sat May 22 20:30:54 1999 +0000
@@ -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 @@
                u_int chosen;
                
                chosen = OF_finddevice("/chosen");
-               OF_getprop(chosen, "stdout", &stdin, sizeof(stdin));
+               OF_getprop(chosen, "stdin", &stdin, sizeof(stdin));
        }
        return stdin;
 }



Home | Main Index | Thread Index | Old Index