raiden00pl commented on code in PR #1549:
URL: https://github.com/apache/nuttx-apps/pull/1549#discussion_r1098649240
##########
logging/nxscope/nxscope_iser.c:
##########
@@ -199,13 +202,13 @@ int nxscope_ser_init(FAR struct nxscope_intf_s *intf,
while (priv->fd < 0);
#else
priv->fd = open(priv->cfg->path, flags);
+#endif
if (priv->fd < 0)
{
- _err("ERROR: failed to open %s\n", priv->cfg->path);
+ _err("ERROR: failed to open %s %d\n", priv->cfg->path, errno);
Review Comment:
Ouch, fixup to wrong commit. Fixed
--
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]