aboutsummaryrefslogtreecommitdiffstats
path: root/rcfile_y.y
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-01-06 02:44:58 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-01-06 02:44:58 +0000
commite6e5c6c4ddffa8199225c76cd46e34ab58aec2ca (patch)
tree8e3726698b9b3c1ffb29df2cd64608d29e9391f1 /rcfile_y.y
parent44d730b7b75d809f2d89a0c68a43da4bd90c0f83 (diff)
downloadfetchmail-e6e5c6c4ddffa8199225c76cd46e34ab58aec2ca.tar.gz
fetchmail-e6e5c6c4ddffa8199225c76cd46e34ab58aec2ca.tar.bz2
fetchmail-e6e5c6c4ddffa8199225c76cd46e34ab58aec2ca.zip
More error message cleanup.
svn path=/trunk/; revision=2333
Diffstat (limited to 'rcfile_y.y')
-rw-r--r--rcfile_y.y4
1 files changed, 2 insertions, 2 deletions
diff --git a/rcfile_y.y b/rcfile_y.y
index 54f1b534..05084635 100644
--- a/rcfile_y.y
+++ b/rcfile_y.y
@@ -374,7 +374,7 @@ int prc_filecheck(const char *pathname, const flag securecheck)
if (errno == ENOENT)
return(PS_SUCCESS);
else {
- error(0, errno, "lstat: %s", pathname);
+ report(stderr, errno, "lstat: %s", pathname);
return(PS_IOERR);
}
}
@@ -422,7 +422,7 @@ int prc_parse_file (const char *pathname, const flag securecheck)
if (strcmp(pathname, "-") == 0)
yyin = stdin;
else if ((yyin = fopen(pathname,"r")) == (FILE *)NULL) {
- error(0, errno, "open: %s", pathname);
+ report(stderr, errno, "open: %s", pathname);
return(PS_IOERR);
}