Fix typo.

This commit is contained in:
Juli Mallett 2007-05-17 00:19:56 +00:00
parent 36c5e18daa
commit 26cfaf71bb

View File

@ -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);
}