summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2014-03-25 10:28:59 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2014-03-25 10:28:59 +0000
commit4f16c4fd643e778974fb4d347b5aea00a9ae6e4c (patch)
treeb71b26e9a419c02da7707d13e949645ab0072349 /usr.sbin
parent74e6dddfe88b6313b12a7b565d5b98d935666ef4 (diff)
reword error message when a table has an invalid configuration file, it has
confused a few people ok eric@
Diffstat (limited to 'usr.sbin')
-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;