aboutsummaryrefslogtreecommitdiffstats
path: root/interpret.h
diff options
context:
space:
mode:
Diffstat (limited to 'interpret.h')
-rw-r--r--interpret.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/interpret.h b/interpret.h
index e2e0d6b7..6b56efa7 100644
--- a/interpret.h
+++ b/interpret.h
@@ -1191,7 +1191,7 @@ match_re:
JUMPTO(ni);
}
- if (inrec(curfile, & errcode) != 0) {
+ if (! inrec(curfile, & errcode)) {
if (errcode > 0 && (do_traditional || ! pc->has_endfile))
fatal(_("error reading input file `%s': %s"),
curfile->public.name, strerror(errcode));