diff options
author | 2003-04-02 14:07:38 +0000 | |
---|---|---|
committer | 2003-04-02 14:07:38 +0000 | |
commit | cfcf85bd7ba232c04dc83458f847a27c9e3f4258 (patch) | |
tree | b87c5df76d00ccba570a388256f1e10fd699b90d | |
parent | internal terminal emulator -> Internal Terminal Emulator (diff) | |
download | wireguard-openbsd-cfcf85bd7ba232c04dc83458f847a27c9e3f4258.tar.xz wireguard-openbsd-cfcf85bd7ba232c04dc83458f847a27c9e3f4258.zip |
better error message
-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 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"); } } |