You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by "raiden00pl (via GitHub)" <gi...@apache.org> on 2023/02/07 13:19:18 UTC
[GitHub] [nuttx-apps] raiden00pl commented on a diff in pull request #1549: examples/nxscope: add support for CDCACM dev
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: commits-unsubscribe@nuttx.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org