diff options
author | ru <ru@FreeBSD.org> | 2004-06-10 07:51:11 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2004-06-10 07:51:11 +0000 |
commit | 08b51f32419c42e6d2e7990051bfdea845362f75 (patch) | |
tree | 4172ef82b63d1bcc3f8ce92fc51581033ae98c09 /sbin | |
parent | f183e449840868fbb0a5c8b52992496172dc8cde (diff) | |
download | FreeBSD-src-08b51f32419c42e6d2e7990051bfdea845362f75.zip FreeBSD-src-08b51f32419c42e6d2e7990051bfdea845362f75.tar.gz |
Fixed a bug spotted by compiling with -Wall.
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/ipfw/ipfw2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 69561af..cf45a50 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -3662,7 +3662,7 @@ table_handler(int ac, char *av[]) } else ent.masklen = 32; if (lookup_host(*av, (struct in_addr *)&ent.addr) != 0) - errx(EX_NOHOST, "hostname ``%s'' unknown", av); + errx(EX_NOHOST, "hostname ``%s'' unknown", *av); ac--; av++; if (do_add && ac) ent.value = strtoul(*av, NULL, 0); |