net/igmp/igmp_input.c: Fix a syslog format

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 20:33:36 +09:00 committed by Xiang Xiao
parent 70a964bdcb
commit d6e87d7f40

View file

@ -45,6 +45,8 @@
#include <assert.h>
#include <debug.h>
#include <inttypes.h>
#include <stdint.h>
#include <nuttx/wdog.h>
#include <nuttx/net/netconfig.h>
@ -157,7 +159,8 @@ void igmp_input(struct net_driver_s *dev)
group = igmp_grpallocfind(dev, &destipaddr);
if (group == NULL)
{
nerr("ERROR: Failed to find/allocate group: %08x\n", destipaddr);
nerr("ERROR: Failed to find/allocate group: %08" PRIx32 "\n",
(uint32_t)destipaddr);
return;
}