changeset 8956:390019f3ab08

(report_error): Include reason in error message.
author Karl Heuer <kwzh@gnu.org>
date Wed, 21 Sep 1994 00:59:22 +0000
parents 14951db9444a
children 4dffbc5d5dc7
files src/unexaix.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/unexaix.c	Tue Sep 20 23:52:38 1994 +0000
+++ b/src/unexaix.c	Wed Sep 21 00:59:22 1994 +0000
@@ -237,6 +237,7 @@
 #endif
 
 #ifdef emacs
+#include "lisp.h"
 
 static
 report_error (file, fd)
@@ -245,7 +246,7 @@
 {
   if (fd)
     close (fd);
-  error ("Failure operating on %s", file);
+  report_file_error ("Cannot unexec", Fcons (build_string (file), Qnil));
 }
 #endif /* emacs */