From ec0f0b7fbc187888ae9d89178595b538059c1f8a Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Fri, 27 Nov 2020 14:15:08 +0900 Subject: [PATCH] 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 150f5f597..1a5ba119f 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; }