From fb68568c0419f535bb0f1123af19c874cc91d950 Mon Sep 17 00:00:00 2001
From: Frederic Culot <calcurse@culot.org>
Date: Sun, 5 Jul 2009 18:59:33 +0000
Subject: More explicit error message.

---
 src/utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

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);
-- 
cgit v1.2.3-70-g09d2