aboutsummaryrefslogtreecommitdiffstats
path: root/lib-src/movemail.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r--lib-src/movemail.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c
index d70c655adec..097bf23c202 100644
--- a/lib-src/movemail.c
+++ b/lib-src/movemail.c
@@ -325,11 +325,10 @@ main (int argc, char **argv)
325 if (desc < 0) 325 if (desc < 0)
326 { 326 {
327 int mkstemp_errno = errno; 327 int mkstemp_errno = errno;
328 char *message = (char *) xmalloc (strlen (tempname) + 50); 328 error ("error while creating what would become the lock file",
329 sprintf (message, "creating %s, which would become the lock file", 329 0, 0);
330 tempname);
331 errno = mkstemp_errno; 330 errno = mkstemp_errno;
332 pfatal_with_name (message); 331 pfatal_with_name (tempname);
333 } 332 }
334 close (desc); 333 close (desc);
335 334