Fixed a bug spotted by compiling with -Wall.

This commit is contained in:
Ruslan Ermilov 2004-06-10 07:51:11 +00:00
parent 1b946e218d
commit 1a41a8e4ce
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130298

View File

@ -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);