aboutsummaryrefslogtreecommitdiff
path: root/nuttx/lib/stdio/lib_rawinstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/stdio/lib_rawinstream.c')
-rw-r--r--nuttx/lib/stdio/lib_rawinstream.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/nuttx/lib/stdio/lib_rawinstream.c b/nuttx/lib/stdio/lib_rawinstream.c
index aacc8f867..9671a2716 100644
--- a/nuttx/lib/stdio/lib_rawinstream.c
+++ b/nuttx/lib/stdio/lib_rawinstream.c
@@ -69,12 +69,11 @@ static int rawinstream_getc(FAR struct lib_instream_s *this)
}
/* Return EOF on any failure to read from the incoming byte stream. The
- * only expected error is EINTER meaning that the read was interrupted
+ * only expected error is EINTR meaning that the read was interrupted
* by a signal. A Zero return value would indicated an end-of-file
* confition.
*/
- DEBUGASSERT(nwritten == 0 || get_errno() == EINTR);
return EOF;
}