Date: Mon, 5 May 2003 01:00:36 -0700 (PDT) From: Vasil Dimov <vd@datamax.bg> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/51750: ipfw2.c typos Message-ID: <200305050800.h4580a3M004003@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/51750; it has been noted by GNATS. From: Vasil Dimov <vd@datamax.bg> To: bug-followup@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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200305050800.h4580a3M004003>