Misc NSH enhancements

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@813 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2008-08-10 22:02:19 +00:00
parent 48f5d6a135
commit 5f27feded2

View File

@ -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)