diff src/unexaix.c @ 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 087c9b909feb
children bd477b542ca4
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 */