diff options
-rw-r--r-- | sbin/pfctl/pfctl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/pfctl/pfctl.c b/sbin/pfctl/pfctl.c index bee90f3c8c2..9136dcdf105 100644 --- a/sbin/pfctl/pfctl.c +++ b/sbin/pfctl/pfctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.c,v 1.165 2003/04/02 14:09:20 henning Exp $ */ +/* $OpenBSD: pfctl.c,v 1.166 2003/04/02 22:31:06 henning Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -946,10 +946,10 @@ pfctl_add_altq(struct pfctl *pf, struct pf_altq *a) if ((pf->opts & PF_OPT_NOACTION) == 0) { if (ioctl(pf->dev, DIOCADDALTQ, pf->paltq)) { if (errno == ENXIO) - errx(1, "qtype not configured\n"); + errx(1, "qtype not configured"); else if (errno == ENODEV) errx(1, "%s: driver does not support " - "altq\n", a->ifname); + "altq", a->ifname); else err(1, "DIOCADDALTQ"); } |