aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1997-02-18 03:57:19 +0000
committerEric S. Raymond <esr@thyrsus.com>1997-02-18 03:57:19 +0000
commite70d6db9a9513c6e2040f118264b1dd606ca5fe6 (patch)
tree3f0c631bae6e5b01903c5b006fe43dc2ab59192e /rcfile_y.y
parent87e5598795b289a87f80ff147bebb6753c9ff73e (diff)
downloadfetchmail-e70d6db9a9513c6e2040f118264b1dd606ca5fe6.tar.gz
fetchmail-e70d6db9a9513c6e2040f118264b1dd606ca5fe6.tar.bz2
fetchmail-e70d6db9a9513c6e2040f118264b1dd606ca5fe6.zip
Dave Bodenstab's error-message corrections.
svn path=/trunk/; revision=900
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 06f3cd23..029b84de 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -217,7 +217,7 @@ static struct query *hosttail; /* where to add new elements */
void yyerror (const char *s)
/* report a syntax error */
{
- fprintf(stderr,"%s line %d: %s at %s\n", rcfile, prc_lineno, s, yytext);
+ error_at_line( 0, 0, rcfile, prc_lineno, "%s at %s", s, yytext );
prc_errflag++;
}