summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'sbin')
-rw-r--r--sbin/ipfw/ipfw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/ipfw/ipfw.c b/sbin/ipfw/ipfw.c
index faa6b8d..02473c4 100644
--- a/sbin/ipfw/ipfw.c
+++ b/sbin/ipfw/ipfw.c
@@ -16,7 +16,7 @@
*
* NEW command line interface for IP firewall facility
*
- * $Id: ipfw.c,v 1.50 1998/01/06 00:11:57 alex Exp $
+ * $Id: ipfw.c,v 1.51 1998/01/07 02:23:04 alex Exp $
*
*/
@@ -434,7 +434,7 @@ list(ac, av)
rulenum = strtoul(*av++, &endptr, 10);
if (*endptr) {
exitval = EX_USAGE;
- warn("invalid rule number: %s", av - 1);
+ warn("invalid rule number: %s", *(av - 1));
continue;
}
seen = 0;
OpenPOWER on IntegriCloud