mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 20:44:39 +08:00
Fix cdcncm printf formatter compiler warning
This commit is contained in:
@@ -1073,7 +1073,7 @@ static void cdcncm_receive(FAR struct cdcncm_driver_s *self)
|
||||
if ((ndplen < opts->ndpsize + 2 * (opts->dgramitemlen * 2)) ||
|
||||
(ndplen % opts->ndpalign != 0))
|
||||
{
|
||||
uerr("Bad NDP length: %x\n", ndplen);
|
||||
uerr("Bad NDP length: %04" PRIx32 " \n", ndplen);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user