Date: Sun, 4 May 2003 18:21:04 +0300 From: Vasil Dimov <vd@datamax.bg> To: freebsd-bugs@freebsd.org Subject: ipfw2.c typos patch Message-ID: <20030504152104.GA40911@sinanica.lg2a.datamax>
next in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Sorry, I forgot to attach ipfw2.c.patch to the bug report.
[-- Attachment #2 --]
--- 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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030504152104.GA40911>
