From 0ff0dd536e5e01a184b9933d4f9909c353a533da Mon Sep 17 00:00:00 2001 From: alex Date: Thu, 8 Jan 1998 00:27:31 +0000 Subject: Format mismatch in error message. Submitted by: bde --- sbin/ipfw/ipfw.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin') 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; -- cgit v1.1