Author: ae Date: Sat Aug 13 22:14:16 2016 New Revision: 304061 URL: https://svnweb.freebsd.org/changeset/base/304061
Log: Use %ju to print unsigned 64-bit value. Reported by: kib Modified: head/sys/netpfil/ipfw/nat64/nat64lsn_control.c Modified: head/sys/netpfil/ipfw/nat64/nat64lsn_control.c ============================================================================== --- head/sys/netpfil/ipfw/nat64/nat64lsn_control.c Sat Aug 13 21:20:06 2016 (r304060) +++ head/sys/netpfil/ipfw/nat64/nat64lsn_control.c Sat Aug 13 22:14:16 2016 (r304061) @@ -733,8 +733,8 @@ nat64lsn_states(struct ip_fw_chain *ch, } if (addr < cfg->prefix4 || addr > cfg->pmask4) { IPFW_UH_RUNLOCK(ch); - DPRINTF(DP_GENERIC | DP_STATE, "XXX: %lu %u %u", - next_idx, addr, cfg->pmask4); + DPRINTF(DP_GENERIC | DP_STATE, "XXX: %ju %u %u", + (uintmax_t)next_idx, addr, cfg->pmask4); return (EINVAL); } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"