summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authoralex <alex@FreeBSD.org>1998-01-08 00:27:31 +0000
committeralex <alex@FreeBSD.org>1998-01-08 00:27:31 +0000
commit0ff0dd536e5e01a184b9933d4f9909c353a533da (patch)
tree9aaf96e59d06ef4eeaa0de335fe66d71a1c185bb /sbin
parent4c50cd5b5a7da0c68c5ac04e0dd94c6e3479e9ba (diff)
downloadFreeBSD-src-0ff0dd536e5e01a184b9933d4f9909c353a533da.zip
FreeBSD-src-0ff0dd536e5e01a184b9933d4f9909c353a533da.tar.gz
Format mismatch in error message.
Submitted by: bde
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