From a403e6eec244c6b503b9290e61ce13d1852e95d1 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Mon, 23 Nov 2020 20:36:32 +0900 Subject: [PATCH] net/igmp/igmp_join.c: Fix a syslog format --- net/igmp/igmp_join.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net/igmp/igmp_join.c b/net/igmp/igmp_join.c index 25f7112813..c87f231fb8 100644 --- a/net/igmp/igmp_join.c +++ b/net/igmp/igmp_join.c @@ -45,6 +45,8 @@ #include #include +#include +#include #include @@ -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);