summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-02 22:31:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-02 22:31:07 +0000
commit7509565c48d3b8eb75df6568a1bf1d0418d7bdec (patch)
treee29bc860f3d1abfd72f1f514d76505798ec69532 /sbin/pfctl/pfctl.c
parentb378c427b8729db1ab2ac9912a77c2612958060b (diff)
no \n w/ errx(3), reminded by andrushock
Diffstat (limited to 'sbin/pfctl/pfctl.c')
-rw-r--r--sbin/pfctl/pfctl.c6
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");
}