diff --git a/mach/proto/as/comm7.c b/mach/proto/as/comm7.c index 02a7c1d58..c48de4d92 100644 --- a/mach/proto/as/comm7.c +++ b/mach/proto/as/comm7.c @@ -8,6 +8,7 @@ * miscellaneous */ +#include #include "comm0.h" #include "comm1.h" #include "y.tab.h" @@ -391,7 +392,7 @@ void emitf(int size, int negative) void ffreopen(char* s, FILE* f) { if (freopen(s, "r", f) == NULL) - fatal("can't reopen %s", s); + fatal("can't reopen %s: %s", s, strerror(errno)); } FILE* ffcreat(char* s)