diff options
author | Juli Mallett <jmallett@FreeBSD.org> | 2007-05-17 00:19:56 +0000 |
---|---|---|
committer | Juli Mallett <jmallett@FreeBSD.org> | 2007-05-17 00:19:56 +0000 |
commit | 26cfaf71bbd99db2b56d034b30d3e0c892a6007d (patch) | |
tree | 03f9ce99f3190495ff8ffe187bf5910e8ce22ec1 /usr.bin/uniq | |
parent | 36c5e18daacc4bf3769cdc717b3c6338d4f102f8 (diff) | |
download | src-test2-26cfaf71bbd99db2b56d034b30d3e0c892a6007d.tar.gz src-test2-26cfaf71bbd99db2b56d034b30d3e0c892a6007d.zip |
Notes
Diffstat (limited to 'usr.bin/uniq')
-rw-r--r-- | usr.bin/uniq/uniq.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/uniq/uniq.c b/usr.bin/uniq/uniq.c index 18ac1aed181a..02c1273df0f5 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); } |