diff options
author | jmallett <jmallett@FreeBSD.org> | 2007-05-17 00:19:56 +0000 |
---|---|---|
committer | jmallett <jmallett@FreeBSD.org> | 2007-05-17 00:19:56 +0000 |
commit | c449c9befa7aff11b08cfcd770ec5e908422632f (patch) | |
tree | 03f9ce99f3190495ff8ffe187bf5910e8ce22ec1 /usr.bin/uniq | |
parent | 070c749233eac6ab7d648d39d5d6cceae8393b06 (diff) | |
download | FreeBSD-src-c449c9befa7aff11b08cfcd770ec5e908422632f.zip FreeBSD-src-c449c9befa7aff11b08cfcd770ec5e908422632f.tar.gz |
Fix typo.
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 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); } |