]> git.eshelyaron.com Git - emacs.git/commitdiff
(report_error): Include reason in error message.
authorKarl Heuer <kwzh@gnu.org>
Wed, 21 Sep 1994 00:59:22 +0000 (00:59 +0000)
committerKarl Heuer <kwzh@gnu.org>
Wed, 21 Sep 1994 00:59:22 +0000 (00:59 +0000)
src/unexaix.c

index e7b7b8c10b33bd93b695d50d283c55f53e062714..364e3467b0ca5558687e73152e8f0c3ee123d4bf 100644 (file)
@@ -237,6 +237,7 @@ static int pagemask;
 #endif
 
 #ifdef emacs
+#include "lisp.h"
 
 static
 report_error (file, fd)
@@ -245,7 +246,7 @@ report_error (file, fd)
 {
   if (fd)
     close (fd);
-  error ("Failure operating on %s", file);
+  report_file_error ("Cannot unexec", Fcons (build_string (file), Qnil));
 }
 #endif /* emacs */