Fix LP64 printf format problem.

This commit is contained in:
thorpej 1999-07-01 23:59:11 +00:00
parent 8328f07bda
commit 62d68abdad

View File

@ -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(')');
} }