xiaoxiang781216 commented on code in PR #3130:
URL: https://github.com/apache/nuttx-apps/pull/3130#discussion_r2212333569


##########
examples/mtdpart/mtdpart_main.c:
##########
@@ -204,7 +194,9 @@ int main(int argc, FAR char *argv[])
   if (ret < 0)
     {
       ferr("ERROR: mtd->ioctl failed: %d\n", ret);
-      exit(3);
+      unregister_mtddriver("/dev/mtd0");

Review Comment:
   move to the end and add label err_mtd



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to