summaryrefslogtreecommitdiff
path: root/input.c
diff options
context:
space:
mode:
authorAn-Cheng Huang <ancheng@vyatta.com>2007-11-12 13:57:46 -0800
committerAn-Cheng Huang <ancheng@vyatta.com>2007-11-14 16:17:01 -0800
commitf533861f868afc167aae06968db5bc138729189f (patch)
treeeff8b5e0ce0b88c2ab470a1bfd841668f26a005d /input.c
parentfc7695ee76400ee9833301f98a3fe483d64591b5 (diff)
downloadvyatta-bash-f533861f868afc167aae06968db5bc138729189f.tar.gz
vyatta-bash-f533861f868afc167aae06968db5bc138729189f.zip
patched with "debian_patches" in bash_3.1dfsg-8.diff.gz
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);
}