summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 314a1f5..c311dfc 100644
--- a/input.c
+++ b/input.c
@@ -454,7 +454,7 @@ b_fill_buffer (bp)
if (nr == 0)
bp->b_flag |= B_EOF;
else
- bp->b_flag |= B_ERROR;
+ fatal_error("error reading input file: %s", strerror(errno));
return (EOF);
}