summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-05 18:59:33 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-05 18:59:33 +0000
commitfb68568c0419f535bb0f1123af19c874cc91d950 (patch)
tree291dd00ae30860347e1fd640e3dadc3b1e198c1c
parent1bc60debe4058f2f05653d6f281a1045cd8f21f1 (diff)
downloadcalcurse-fb68568c0419f535bb0f1123af19c874cc91d950.zip
More explicit error message.
-rwxr-xr-xsrc/utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils.c b/src/utils.c
index b68bf23..a9ed8bd 100755
--- a/src/utils.c
+++ b/src/utils.c
@@ -1,4 +1,4 @@
-/* $calcurse: utils.c,v 1.72 2009/07/05 16:28:04 culot Exp $ */
+/* $calcurse: utils.c,v 1.73 2009/07/05 18:59:33 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -819,7 +819,7 @@ new_tempfile (const char *prefix, int trailing_len)
unlink (fullname);
close (fd);
}
- ERROR_MSG (_("temporary file could not be created"));
+ ERROR_MSG (_("temporary file \"%s\" could not be created"), fullname);
return (char *)0;
}
fclose (file);