summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2014-03-25 10:28:58 +0000
committergilles <gilles@openbsd.org>2014-03-25 10:28:58 +0000
commitcb1bbb86d02b0bea87b49d6cacfc562427463b48 (patch)
tree99d1530136557765aa6be8159f3d57a1aee4d846
parentwhen locally enqueuing messages without specifying a domain for sender or (diff)
downloadwireguard-openbsd-cb1bbb86d02b0bea87b49d6cacfc562427463b48.tar.xz
wireguard-openbsd-cb1bbb86d02b0bea87b49d6cacfc562427463b48.zip
reword error message when a table has an invalid configuration file, it has
confused a few people ok eric@
-rw-r--r--usr.sbin/smtpd/parse.y6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/smtpd/parse.y b/usr.sbin/smtpd/parse.y
index 8d3188492cb..20530c3e74a 100644
--- a/usr.sbin/smtpd/parse.y
+++ b/usr.sbin/smtpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.137 2014/02/04 13:44:41 eric Exp $ */
+/* $OpenBSD: parse.y,v 1.138 2014/03/25 10:28:58 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -670,8 +670,8 @@ table : TABLE STRING STRING {
}
table = table_create(backend, $2, NULL, config);
if (!table_config(table)) {
- yyerror("invalid backend configuration for table %s",
- table->t_name);
+ yyerror("invalid configuration file %s for table %s",
+ config, table->t_name);
free($2);
free($3);
YYERROR;