libs/libnx/nxmu/nx_eventhandler.c: Fix syslog formats
This commit is contained in:
parent
aa653fef63
commit
07a67c7b96
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user