(report_error): Include reason in error message.
This commit is contained in:
parent
1f7850dd5c
commit
8eca17c9a5
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue