diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-10 14:46:10 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2003-03-10 14:46:10 +0000 |
commit | 450ca21c568c3bc80fc580709a8b9cab8142c6ad (patch) | |
tree | 1f062461aaf7284e76d34249f56e249331c5849e /sbin | |
parent | 01acdd8cc1741f3949d65f86c8f9f34790a58dd7 (diff) |
when complaining about a queue wiwthout parent, include the queue name in
the error message
ok dhartmei@ pb@ (as part of a monsterdiff)
Diffstat (limited to 'sbin')
-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); } |