Fix cdcncm printf formatter compiler warning
This commit is contained in:
parent
974db76cb9
commit
bc0f90659f
|
@ -1073,7 +1073,7 @@ static void cdcncm_receive(FAR struct cdcncm_driver_s *self)
|
||||||
if ((ndplen < opts->ndpsize + 2 * (opts->dgramitemlen * 2)) ||
|
if ((ndplen < opts->ndpsize + 2 * (opts->dgramitemlen * 2)) ||
|
||||||
(ndplen % opts->ndpalign != 0))
|
(ndplen % opts->ndpalign != 0))
|
||||||
{
|
{
|
||||||
uerr("Bad NDP length: %x\n", ndplen);
|
uerr("Bad NDP length: %04" PRIx32 " \n", ndplen);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue