]> xenbits.xensource.com Git - people/royger/freebsd.git/commitdiff
Fix build for 32-bit machines.
authorglebius <glebius@FreeBSD.org>
Fri, 9 Dec 2016 20:50:35 +0000 (20:50 +0000)
committerglebius <glebius@FreeBSD.org>
Fri, 9 Dec 2016 20:50:35 +0000 (20:50 +0000)
Submitted by: tuexen

sys/netinet/ip_icmp.c

index ba399496ab58553770838b00c715e0d10a4f6589..d1a26a8184b887dd79b8b41e73c33c5e3d42be36 100644 (file)
@@ -1025,7 +1025,7 @@ badport_bandlim(int which)
        if (pps == -1)
                return (-1);
        if (pps > 0 && V_icmplim_output)
-               log(LOG_NOTICE, "Limiting %s from %ld to %d packets/sec\n",
-                       V_icmp_rates[which].descr, pps, V_icmplim);
+               log(LOG_NOTICE, "Limiting %s from %jd to %d packets/sec\n",
+                       V_icmp_rates[which].descr, (intmax_t )pps, V_icmplim);
        return (0);
 }