crafcat7 commented on code in PR #15552: URL: https://github.com/apache/nuttx/pull/15552#discussion_r1916001367
########## arch/sim/src/sim/posix/sim_hostfs.c: ########## @@ -233,7 +246,7 @@ nuttx_ssize_t host_read(int fd, void *buf, nuttx_size_t count) ret = -errno; } - return ret; + return host_errno_convert(ret); Review Comment: Thanks for your review, I changed it to convert errno and assign it to ret before returning it, so as to avoid truncates. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@nuttx.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org