diff options
author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2014-10-10 17:24:56 +0000 |
---|---|---|
committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2014-10-10 17:24:56 +0000 |
commit | 9fe15d06124fb36157e496363d74b1c306bfc8a0 (patch) | |
tree | e1675fc1f296b13d712fff8778ef12d5a5f3f6ff /sbin | |
parent | 8423f42aa8e8dd6fe50ee6053676478659718699 (diff) | |
download | src-9fe15d06124fb36157e496363d74b1c306bfc8a0.tar.gz src-9fe15d06124fb36157e496363d74b1c306bfc8a0.zip |
Partially fix build on !amd64
Pointed by: bz
Notes
Notes:
svn path=/head/; revision=272898
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 2 | ||||
-rw-r--r-- | sbin/ipfw/tables.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 19c1d40949b2..6b6424c9981b 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -2580,7 +2580,7 @@ ipfw_show_config(struct cmdline_opts *co, struct format_opts *fo, list_static_range(co, fo, &bp, rbase, rcnt); if (co->do_dynamic && dynsz > 0) { - printf("## Dynamic rules (%d %lu):\n", fo->dcnt, dynsz); + printf("## Dynamic rules (%d %zu):\n", fo->dcnt, dynsz); list_dyn_range(co, fo, &bp, dynbase, dynsz); } diff --git a/sbin/ipfw/tables.c b/sbin/ipfw/tables.c index a94e182ab47e..a92737318c89 100644 --- a/sbin/ipfw/tables.c +++ b/sbin/ipfw/tables.c @@ -13,7 +13,7 @@ * * in-kernel ipfw tables support. * - * $FreeBSD: projects/ipfw/sbin/ipfw/ipfw2.c 267467 2014-06-14 10:58:39Z melifaro $ + * $FreeBSD$ */ @@ -1908,7 +1908,7 @@ ipfw_list_values(int ac, char *av[]) for (i = 0; i < olh->count; i++) { table_show_value(buf, sizeof(buf), (ipfw_table_value *)v, vmask, 0); - printf("[%u] refs=%lu %s\n", v->spare1, v->refcnt, buf); + printf("[%u] refs=%ju %s\n", v->spare1, v->refcnt, buf); v = (struct _table_value *)((caddr_t)v + olh->objsize); } |