bin/51750: ipfw2.c typos
Vasil Dimov
vd at datamax.bg
Mon May 5 01:00:37 PDT 2003
The following reply was made to PR bin/51750; it has been noted by GNATS.
From: Vasil Dimov <vd at datamax.bg>
To: bug-followup at freebsd.org
Cc:
Subject: Re: bin/51750: ipfw2.c typos
Date: Mon, 5 May 2003 10:55:36 +0300
--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
--SLDf9lqlvOQaIe6s
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="ipfw2.c.patch"
--- ipfw2.c.orig Sat Mar 15 03:12:59 2003
+++ ipfw2.c Sun May 4 18:12:44 2003
@@ -2782,7 +2782,7 @@
cmd = next_cmd(cmd);
}
} else if (first_cmd != cmd) {
- errx(EX_DATAERR, "invalid protocol ``%s''", av);
+ errx(EX_DATAERR, "invalid protocol ``%s''", *av);
} else
goto read_options;
OR_BLOCK(get_proto);
@@ -3115,7 +3115,7 @@
proto = cmd->arg1;
ac--; av++;
} else
- errx(EX_DATAERR, "invalid protocol ``%s''", av);
+ errx(EX_DATAERR, "invalid protocol ``%s''", *av);
break;
case TOK_SRCIP:
@@ -3162,7 +3162,7 @@
case TOK_MACTYPE:
NEED1("missing mac type");
if (!add_mactype(cmd, ac, *av))
- errx(EX_DATAERR, "invalid mac type %s", av);
+ errx(EX_DATAERR, "invalid mac type %s", *av);
ac--; av++;
break;
--SLDf9lqlvOQaIe6s--
More information about the freebsd-bugs
mailing list