summaryrefslogtreecommitdiff
path: root/nuttx/lib/stdio/lib_rawoutstream.c
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/lib/stdio/lib_rawoutstream.c')
-rw-r--r--nuttx/lib/stdio/lib_rawoutstream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nuttx/lib/stdio/lib_rawoutstream.c b/nuttx/lib/stdio/lib_rawoutstream.c
index bf9a68206..05cb5853f 100644
--- a/nuttx/lib/stdio/lib_rawoutstream.c
+++ b/nuttx/lib/stdio/lib_rawoutstream.c
@@ -64,7 +64,7 @@ static void rawoutstream_putc(FAR struct lib_outstream_s *this, int ch)
this->nput++;
}
}
- while (nwritten < 0 && *get_errno_ptr() == EINTR);
+ while (nwritten < 0 && get_errno() == EINTR);
}
}