From 5f5326354d4c55d3a87eccc5e11927262900de9b Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Wed, 14 Oct 2020 20:10:38 +0200 Subject: Fix argument order in 'cannot write to lockfile' message. Reported by Petr Pisar, found while updating the Czech translation. --- lock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lock.c') 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); } } -- cgit v1.2.3