summaryrefslogtreecommitdiffstats
path: root/usr.bin/tail
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>2005-05-26 22:49:08 +0000
committereivind <eivind@FreeBSD.org>2005-05-26 22:49:08 +0000
commitbf8bf9051e457b1c5d2934d5956aded6952b7329 (patch)
treed0725da2b1d753a5dae48b9c552d1a0006285b16 /usr.bin/tail
parent67f16567dc8c9a415a008efa770bd9ab4f6e524d (diff)
downloadFreeBSD-src-bf8bf9051e457b1c5d2934d5956aded6952b7329.zip
FreeBSD-src-bf8bf9051e457b1c5d2934d5956aded6952b7329.tar.gz
Remove an errno reset that became unnecessary.
Noticed by: juli
Diffstat (limited to 'usr.bin/tail')
-rw-r--r--usr.bin/tail/tail.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/usr.bin/tail/tail.c b/usr.bin/tail/tail.c
index 373e6e2..fa1e8f6 100644
--- a/usr.bin/tail/tail.c
+++ b/usr.bin/tail/tail.c
@@ -220,7 +220,6 @@ main(int argc, char *argv[])
}
if ((sb.st_mode & S_IFMT) == S_IFSOCK || (sb.st_mode & S_IFMT) == S_IFIFO) {
- errno = 0;
fflag = 0; /* POSIX.2 requires this. */
}
OpenPOWER on IntegriCloud