Fix typo.
This commit is contained in:
parent
36c5e18daa
commit
26cfaf71bb
@ -142,7 +142,7 @@ main (int argc, char *argv[])
|
||||
err(1, "malloc");
|
||||
|
||||
if (getline(prevline, MAXLINELEN, ifp) == NULL) {
|
||||
if (ferror(ifp) || 1)
|
||||
if (ferror(ifp))
|
||||
err(1, "%s", ifn);
|
||||
exit(0);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user