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

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 20:36:32 +09:00 committed by Xiang Xiao
parent ffe29f9025
commit a403e6eec2

View File

@ -45,6 +45,8 @@
#include <assert.h>
#include <debug.h>
#include <inttypes.h>
#include <stdint.h>
#include <netinet/in.h>
@ -131,7 +133,7 @@ int igmp_joingroup(struct net_driver_s *dev,
{
/* No... allocate a new entry */
ninfo("Join to new group: %08x\n", grpaddr->s_addr);
ninfo("Join to new group: %08" PRIx32 "\n", (uint32_t)grpaddr->s_addr);
group = igmp_grpalloc(dev, &grpaddr->s_addr);
IGMP_STATINCR(g_netstats.igmp.joins);