drivers/usbdev/rndis.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi
2020-11-27 18:00:19 +09:00
committed by Xiang Xiao
parent 23cd2a0842
commit afe3c2cdb5
+4 -2
View File
@@ -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;