diff options
author | 2003-03-10 14:46:09 +0000 | |
---|---|---|
committer | 2003-03-10 14:46:09 +0000 | |
commit | 780700518490440a02546ed1b7edbb4535e613d5 (patch) | |
tree | ba381bd1e664bc75ea03af70eca100db989aed51 | |
parent | english(4) police, Officer Jolan Luff (diff) | |
download | wireguard-openbsd-780700518490440a02546ed1b7edbb4535e613d5.tar.xz wireguard-openbsd-780700518490440a02546ed1b7edbb4535e613d5.zip |
when complaining about a queue wiwthout parent, include the queue name in
the error message
ok dhartmei@ pb@ (as part of a monsterdiff)
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 0550e00acc6..60abd26c741 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.340 2003/03/09 19:07:21 henning Exp $ */ +/* $OpenBSD: parse.y,v 1.341 2003/03/10 14:46:09 henning Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -3146,7 +3146,7 @@ expand_queue(struct pf_altq *a, struct node_queue *nqueues, } if (queues == NULL) { - yyerror("queue has no parent"); + yyerror("queue %s has no parent", a->qname); FREE_LIST(struct node_queue, nqueues); return (1); } |