mirror of
https://github.com/apache/nuttx-apps.git
synced 2026-09-01 06:33:07 +00:00
system/nxplayer/nxplayer.c: Fix a syslog format
This commit is contained in:
parent
db07ae43ee
commit
ed768d1159
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue