libs/libnx/nxmu/nx_eventhandler.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-20 20:54:57 +09:00 committed by Xiang Xiao
parent aa653fef63
commit 07a67c7b96

View File

@ -167,7 +167,7 @@ int nx_eventhandler(NXHANDLE handle)
/* Dispatch the message appropriately */
msg = (struct nxsvrmsg_s *)buffer;
ginfo("Received msgid=%d\n", msg->msgid);
ginfo("Received msgid=%" PRId32 "\n", msg->msgid);
switch (msg->msgid)
{
case NX_CLIMSG_CONNECTED:
@ -253,7 +253,7 @@ int nx_eventhandler(NXHANDLE handle)
break;
default:
gerr("ERROR: Unrecognized message opcode: %d\n",
gerr("ERROR: Unrecognized message opcode: %" PRId32 "\n",
((FAR struct nxsvrmsg_s *)buffer)->msgid);
break;
}