mirror of
https://github.com/apache/nuttx.git
synced 2026-10-19 20:58:54 +00:00
net/igmp/igmp_join.c: Fix a syslog format
This commit is contained in:
parent
ffe29f9025
commit
a403e6eec2
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue