summaryrefslogtreecommitdiffstats
path: root/usr.bin/wc/wc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/wc/wc.c')
-rw-r--r--usr.bin/wc/wc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/wc/wc.c b/usr.bin/wc/wc.c
index a50196c..d37f494 100644
--- a/usr.bin/wc/wc.c
+++ b/usr.bin/wc/wc.c
@@ -38,7 +38,7 @@ static char copyright[] =
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)wc.c 8.1 (Berkeley) 6/6/93";
+static char sccsid[] = "@(#)wc.c 8.2 (Berkeley) 5/2/95";
#endif /* not lint */
#include <sys/param.h>
@@ -160,7 +160,7 @@ cnt(file)
if (dochar) {
if (fstat(fd, &sb))
err("%s: %s", file, strerror(errno));
- if (S_ISREG(sb.st_mode) || S_ISLNK(sb.st_mode)) {
+ if (S_ISREG(sb.st_mode)) {
(void)printf(" %7qu", sb.st_size);
tcharct += sb.st_size;
(void)close(fd);
OpenPOWER on IntegriCloud