From 8eca17c9a5ed835fa1605bf49d83b476a40f161a Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Wed, 21 Sep 1994 00:59:22 +0000 Subject: [PATCH] (report_error): Include reason in error message. --- src/unexaix.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; #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 */ -- 2.39.5