aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarl Heuer1994-09-21 00:59:22 +0000
committerKarl Heuer1994-09-21 00:59:22 +0000
commit8eca17c9a5ed835fa1605bf49d83b476a40f161a (patch)
treeff698a88056536897b3d0704ae380452f66d4dbb
parent1f7850dd5c853d890c7453a5039e696edeb6ac23 (diff)
downloademacs-8eca17c9a5ed835fa1605bf49d83b476a40f161a.tar.gz
emacs-8eca17c9a5ed835fa1605bf49d83b476a40f161a.zip
(report_error): Include reason in error message.
-rw-r--r--src/unexaix.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/unexaix.c b/src/unexaix.c
index e7b7b8c10b3..364e3467b0c 100644
--- a/src/unexaix.c
+++ b/src/unexaix.c
@@ -237,6 +237,7 @@ static int pagemask;
237#endif 237#endif
238 238
239#ifdef emacs 239#ifdef emacs
240#include "lisp.h"
240 241
241static 242static
242report_error (file, fd) 243report_error (file, fd)
@@ -245,7 +246,7 @@ report_error (file, fd)
245{ 246{
246 if (fd) 247 if (fd)
247 close (fd); 248 close (fd);
248 error ("Failure operating on %s", file); 249 report_file_error ("Cannot unexec", Fcons (build_string (file), Qnil));
249} 250}
250#endif /* emacs */ 251#endif /* emacs */
251 252