You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/27 08:43:41 UTC
[incubator-nuttx-apps] 03/05: system/nxplayer/nxplayer.c: Fix a
syslog format
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit ed768d11592d2177984f9bc4904d51190fdafa09
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Nov 27 14:11:31 2020 +0900
system/nxplayer/nxplayer.c: Fix a syslog format
---
system/nxplayer/nxplayer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/nxplayer/nxplayer.c b/system/nxplayer/nxplayer.c
index 0ab7fe9..8f74a9a 100644
--- a/system/nxplayer/nxplayer.c
+++ b/system/nxplayer/nxplayer.c
@@ -316,7 +316,8 @@ static int nxplayer_opendevice(FAR struct nxplayer_s *pplayer, int format,
int errcode = errno;
DEBUGASSERT(errcode > 0);
- auderr("ERROR: Failed to open %s: %d\n", -errcode);
+ auderr("ERROR: Failed to open %s: %d\n",
+ pplayer->prefdevice, -errcode);
UNUSED(errcode);
return -ENOENT;
}