From 7509565c48d3b8eb75df6568a1bf1d0418d7bdec Mon Sep 17 00:00:00 2001 From: Henning Brauer Date: Wed, 2 Apr 2003 22:31:07 +0000 Subject: no \n w/ errx(3), reminded by andrushock --- sbin/pfctl/pfctl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sbin/pfctl/pfctl.c') 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"); } -- cgit v1.2.3