Skip to content

Commit

Permalink
Correct Coverity warning 35146 only for version 3.7.0
Browse files Browse the repository at this point in the history
This has been reworked in version 3.9.0 so only needed now.
  • Loading branch information
Johan Zetterlund authored and Johan Zetterlund committed Jan 12, 2024
1 parent 81d6e51 commit e2293ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/netlink-private/utils.h
Original file line number Diff line number Diff line change
Expand Up @@ -362,7 +362,7 @@ typedef union {
} _NLIPAddr;

static inline char *_nl_inet_ntop(int addr_family, const void *addr,
char buf[static INET_ADDRSTRLEN])
char buf[static INET6_ADDRSTRLEN])
{
char *r;

Expand Down

0 comments on commit e2293ad

Please sign in to comment.