diff options
author | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 22:55:38 +0000 |
---|---|---|
committer | Matthias Andree <matthias.andree@gmx.de> | 2005-07-03 22:55:38 +0000 |
commit | a7ba3bdce520d1bc6bdab84076a807868fe83b0b (patch) | |
tree | bde1d67ea3ca0c0dd5f566697d0563420d0adeb2 /uid.c | |
parent | 9e69418a4b0a995f8bd371639acebc08cdeb7166 (diff) | |
download | fetchmail-a7ba3bdce520d1bc6bdab84076a807868fe83b0b.tar.gz fetchmail-a7ba3bdce520d1bc6bdab84076a807868fe83b0b.tar.bz2 fetchmail-a7ba3bdce520d1bc6bdab84076a807868fe83b0b.zip |
Fix argument messup that printed the error instead of the file name, and garbage instead of the error message.
Reported by Jakob Hirsch.
svn path=/trunk/; revision=4084
Diffstat (limited to 'uid.c')
-rw-r--r-- | uid.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -611,7 +611,7 @@ void write_saved_lists(struct query *hostlist, const char *idfile) if (outlevel >= O_DEBUG) report(stdout, GT_("Deleting fetchids file.\n")); if (unlink(idfile) && errno != ENOENT) - report(stderr, GT_("Error deleting %s: %s\n"), strerror(errno)); + report(stderr, GT_("Error deleting %s: %s\n"), idfile, strerror(errno)); } else { char *newnam = xmalloc(strlen(idfile) + 2); strcpy(newnam, idfile); |