From 3ac921616c38bb2958a0bedf63e64853db1b65ef Mon Sep 17 00:00:00 2001 From: rafal Date: Tue, 21 May 2002 21:53:35 +0000 Subject: [PATCH] Make sure to read from stdin, not stdout. From Scott Taylor. --- sys/arch/sgimips/stand/common/getchar.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/arch/sgimips/stand/common/getchar.c b/sys/arch/sgimips/stand/common/getchar.c index 763d6b312c8c..e8ee1965d4e9 100644 --- a/sys/arch/sgimips/stand/common/getchar.c +++ b/sys/arch/sgimips/stand/common/getchar.c @@ -1,4 +1,4 @@ -/* $NetBSD: getchar.c,v 1.1 2001/11/21 19:09:10 thorpej Exp $ */ +/* $NetBSD: getchar.c,v 1.2 2002/05/21 21:53:35 rafal Exp $ */ /*- * Copyright (c) 1999 The NetBSD Foundation, Inc. @@ -47,6 +47,6 @@ getchar() char ch; int count; - (*ARCBIOS->Read)(1, &ch, 1, &count); + (*ARCBIOS->Read)(0, &ch, 1, &count); return(ch); }