From 5f27feded2e0616b0e8aee48ae1104208e2de1ee Mon Sep 17 00:00:00 2001 From: patacongo Date: Sun, 10 Aug 2008 22:02:19 +0000 Subject: [PATCH] Misc NSH enhancements git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@813 42af7a65-404d-4744-a932-0658087f49c3 --- arch/sim/src/up_stdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sim/src/up_stdio.c b/arch/sim/src/up_stdio.c index cfa5eb225b2..543407b9910 100644 --- a/arch/sim/src/up_stdio.c +++ b/arch/sim/src/up_stdio.c @@ -63,7 +63,7 @@ size_t up_hostread(void *buffer, size_t len) { /* Just map to the host fread() */ - return fread(buffer, 1, len, stdout); + return fread(buffer, 1, len, stdin); } size_t up_hostwrite(const void *buffer, size_t len)