From c449c9befa7aff11b08cfcd770ec5e908422632f Mon Sep 17 00:00:00 2001 From: jmallett Date: Thu, 17 May 2007 00:19:56 +0000 Subject: Fix typo. --- usr.bin/uniq/uniq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.bin/uniq') diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index 18ac1ae..02c1273 100644 --- a/usr.bin/uniq/uniq.c +++ b/usr.bin/uniq/uniq.c @@ -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); } -- cgit v1.1