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:43 UTC
[incubator-nuttx-apps] 05/05: system/nxrecorder/nxrecorder.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 ec0f0b7fbc187888ae9d89178595b538059c1f8a
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Fri Nov 27 14:15:08 2020 +0900
system/nxrecorder/nxrecorder.c: Fix a syslog format
---
system/nxrecorder/nxrecorder.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/system/nxrecorder/nxrecorder.c b/system/nxrecorder/nxrecorder.c
index 150f5f5..1a5ba11 100644
--- a/system/nxrecorder/nxrecorder.c
+++ b/system/nxrecorder/nxrecorder.c
@@ -94,7 +94,8 @@ static int nxrecorder_opendevice(FAR struct nxrecorder_s *precorder)
int errcode = errno;
DEBUGASSERT(errcode > 0);
- auderr("ERROR: Failed to open %s: %d\n", -errcode);
+ auderr("ERROR: Failed to open %s: %d\n",
+ precorder->device, -errcode);
UNUSED(errcode);
return -ENOENT;
}