From ed6eaf7bd911166c7e8d63e44674b0518add9787 Mon Sep 17 00:00:00 2001 From: maxim Date: Sat, 24 Jan 2004 19:20:09 +0000 Subject: o Pass a correct argument to errx(3). PR: bin/61846 Submitted by: Eugene Grosbein MFC after: 1 week --- sbin/ipfw/ipfw2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sbin') diff --git a/sbin/ipfw/ipfw2.c b/sbin/ipfw/ipfw2.c index 88a36db..aa8aa93 100644 --- a/sbin/ipfw/ipfw2.c +++ b/sbin/ipfw/ipfw2.c @@ -2417,7 +2417,7 @@ end_mask: break; default: - errx(EX_DATAERR, "unrecognised option ``%s''", *av); + errx(EX_DATAERR, "unrecognised option ``%s''", av[-1]); } } if (do_pipe == 1) { -- cgit v1.1