jingfei195887 commented on code in PR #3130: URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2234848403
########## examples/mtdpart/mtdpart_main.c: ########## @@ -280,8 +257,8 @@ int main(int argc, FAR char *argv[]) if (!buffer) { printf("ERROR: failed to allocate a sector buffer\n"); - fflush(stdout); - exit(7); + status = 6; + goto errout; Review Comment: done err_buf is added -- 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