v01d commented on a change in pull request #443: URL: https://github.com/apache/incubator-nuttx-apps/pull/443#discussion_r512856604
########## File path: nshlib/nsh_netcmds.c ########## @@ -391,7 +391,9 @@ static int nsh_foreach_netdev(nsh_netdev_callback_t callback, dir = opendir(CONFIG_NSH_PROC_MOUNTPOINT "/net"); if (dir == NULL) { - nsh_error(vtbl, g_fmtcmdfailed, cmd, "opendir", NSH_ERRNO); + nsh_error(vtbl, + "%s: %s: Could not open %s/net (is procfs mounted?): %d\n", + "nsh", cmd, CONFIG_NSH_PROC_MOUNTPOINT, NSH_ERRNO); Review comment: ```suggestion "nsh: %s: Could not open %s/net (is procfs mounted?): %d\n", cmd, CONFIG_NSH_PROC_MOUNTPOINT, NSH_ERRNO); ``` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org