summaryrefslogtreecommitdiff
path: root/nuttx/arch/sim
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-10 22:02:19 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2008-08-10 22:02:19 +0000
commit76ae5226bee0a119ea0866e784d97ef6203c5f0c (patch)
tree6e37498c517ae55ef5a58ce6d6e1fae386f244a6 /nuttx/arch/sim
parent2d0ce7d83a5ee93070da059aa3d6ce85c970c7a4 (diff)
downloadpx4-nuttx-76ae5226bee0a119ea0866e784d97ef6203c5f0c.tar.gz
px4-nuttx-76ae5226bee0a119ea0866e784d97ef6203c5f0c.tar.bz2
px4-nuttx-76ae5226bee0a119ea0866e784d97ef6203c5f0c.zip
Misc NSH enhancements
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@813 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/arch/sim')
-rw-r--r--nuttx/arch/sim/src/up_stdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/arch/sim/src/up_stdio.c b/nuttx/arch/sim/src/up_stdio.c
index cfa5eb225..543407b99 100644
--- a/nuttx/arch/sim/src/up_stdio.c
+++ b/nuttx/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)