Fix LP64 printf format problem.
This commit is contained in:
parent
8328f07bda
commit
62d68abdad
@ -1026,9 +1026,9 @@ pr_pack(buf, cc, mhdr)
|
|||||||
|
|
||||||
if (buf[off + ICMP6_NIRLEN] !=
|
if (buf[off + ICMP6_NIRLEN] !=
|
||||||
cc - off - ICMP6_NIRLEN - 1) {
|
cc - off - ICMP6_NIRLEN - 1) {
|
||||||
(void)printf(",invalid namelen:%d/%d",
|
(void)printf(",invalid namelen:%d/%lu",
|
||||||
buf[off + ICMP6_NIRLEN],
|
buf[off + ICMP6_NIRLEN],
|
||||||
cc - off - ICMP6_NIRLEN - 1);
|
(u_long)cc - off - ICMP6_NIRLEN - 1);
|
||||||
}
|
}
|
||||||
putchar(')');
|
putchar(')');
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user