diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1999-01-06 02:44:58 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1999-01-06 02:44:58 +0000 |
commit | e6e5c6c4ddffa8199225c76cd46e34ab58aec2ca (patch) | |
tree | 8e3726698b9b3c1ffb29df2cd64608d29e9391f1 /rcfile_y.y | |
parent | 44d730b7b75d809f2d89a0c68a43da4bd90c0f83 (diff) | |
download | fetchmail-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.y | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |