aboutsummaryrefslogtreecommitdiffstats
path: root/lock.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2020-10-14 20:10:38 +0200
committerMatthias Andree <matthias.andree@gmx.de>2020-10-14 20:10:38 +0200
commit5f5326354d4c55d3a87eccc5e11927262900de9b (patch)
tree5f3fda7ed1a08d808db2998a54624cd2378034a7 /lock.c
parent1973ad467fbdb5395a26a01cdb6ebb708275965f (diff)
downloadfetchmail-5f5326354d4c55d3a87eccc5e11927262900de9b.tar.gz
fetchmail-5f5326354d4c55d3a87eccc5e11927262900de9b.tar.bz2
fetchmail-5f5326354d4c55d3a87eccc5e11927262900de9b.zip
Fix argument order in 'cannot write to lockfile' message.
Reported by Petr Pisar, found while updating the Czech translation.
Diffstat (limited to 'lock.c')
-rw-r--r--lock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lock.c b/lock.c
index 43355150..5f452b36 100644
--- a/lock.c
+++ b/lock.c
@@ -114,7 +114,7 @@ int fm_lock_state(void)
* assume that we cannot write to it later,
* complain and quit. */
report(stderr, GT_("fetchmail: cannot write to lockfile \"%s\" (%s), exiting\n"),
- strerror(errno), lockfile);
+ lockfile, strerror(errno));
exit(PS_EXCLUDE);
}
}