summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-04-02 14:07:39 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-04-02 14:07:39 +0000
commit57b9503f277fa1510823acc56151b73ed9b5709d (patch)
tree7df5c349554f46dbd67542d5d995941fa25cebea /sbin/pfctl/pfctl.c
parent99ea6626de80968b90ebd66c4aaeb2994dcd4172 (diff)
better error message
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 0d534e21a46..57a55b2e440 100644
--- a/sbin/pfctl/pfctl.c
+++ b/sbin/pfctl/pfctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl.c,v 1.163 2003/03/27 20:21:34 dhartmei Exp $ */
+/* $OpenBSD: pfctl.c,v 1.164 2003/04/02 14:07:38 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -950,8 +950,8 @@ pfctl_add_altq(struct pfctl *pf, struct pf_altq *a)
"qtype not configured\n");
else if (errno == ENODEV)
fprintf(stderr,
- "driver does not support "
- "altq\n");
+ "%s: driver does not support "
+ "altq\n", a->ifname);
err(1, "DIOCADDALTQ");
}
}