diff options
author | Richard M. Stallman <rms@gnu.org> | 1995-08-05 20:19:40 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1995-08-05 20:19:40 +0000 |
commit | d0776f5c896d161ad5fa5c115b4fb37cf98c7f27 (patch) | |
tree | 9cf09e4921bb9801cd95e8561471256421d07c00 /lib-src/movemail.c | |
parent | f1d71b2f75923b697f59f2873f931d68979df8f7 (diff) | |
download | emacs-d0776f5c896d161ad5fa5c115b4fb37cf98c7f27.tar.gz |
(main): Mention lock file name in error message.
Diffstat (limited to 'lib-src/movemail.c')
-rw-r--r-- | lib-src/movemail.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib-src/movemail.c b/lib-src/movemail.c index 83a9fed2acc..fd33302b9e6 100644 --- a/lib-src/movemail.c +++ b/lib-src/movemail.c @@ -237,7 +237,11 @@ main (argc, argv) /* Give up if cannot do that. */ desc = open (tempname, O_WRONLY | O_CREAT | O_EXCL, 0666); if (desc < 0) - pfatal_with_name ("lock file--see source file lib-src/movemail.c"); + { + char *message = (char *) malloc (strlen (tempname) + 50); + sprintf (message, "%s--see source file lib-src/movemail.c"); + pfatal_with_name (message); + } close (desc); tem = link (tempname, lockname); |