mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
drivers/usbdev/rndis.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
23cd2a0842
commit
afe3c2cdb5
@@ -44,6 +44,7 @@
|
||||
|
||||
#include <queue.h>
|
||||
#include <errno.h>
|
||||
#include <inttypes.h>
|
||||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
#include <stdio.h>
|
||||
@@ -1275,7 +1276,7 @@ static inline int rndis_recvpacket(FAR struct rndis_dev_s *priv,
|
||||
}
|
||||
else
|
||||
{
|
||||
uerr("Unknown RNDIS message type %u\n", msg->msgtype);
|
||||
uerr("Unknown RNDIS message type %" PRIu32 "\n", msg->msgtype);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1599,7 +1600,8 @@ static int rndis_handle_control_message(FAR struct rndis_dev_s *priv,
|
||||
break;
|
||||
|
||||
default:
|
||||
uwarn("Unsupported RNDIS control message: %u\n", cmd_hdr->msgtype);
|
||||
uwarn("Unsupported RNDIS control message: %" PRIu32 "\n",
|
||||
cmd_hdr->msgtype);
|
||||
}
|
||||
|
||||
return OK;
|
||||
|
||||
Reference in New Issue
Block a user