xiaoxiang781216 commented on code in PR #1220:
URL:
https://github.com/apache/incubator-nuttx-apps/pull/1220#discussion_r923051896
##########
nshlib/nsh_netcmds.c:
##########
@@ -377,8 +377,8 @@ static int nsh_foreach_netdev(nsh_netdev_callback_t
callback,
if (dir == NULL)
{
nsh_error(vtbl,
- "nsh: %s: Could not open %s/net (is procfs mounted?): %d\n",
- cmd, CONFIG_NSH_PROC_MOUNTPOINT, NSH_ERRNO);
Review Comment:
NSH_ERRNO may be a string or an integer:
https://github.com/apache/incubator-nuttx-apps/blob/master/nshlib/nsh.h#L434-L444
it's hard to keep it.
--
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]