diff options
author | Xin LI <delphij@FreeBSD.org> | 2009-12-11 23:35:38 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2009-12-11 23:35:38 +0000 |
commit | 6f2d322192a3949db6e0f0b4bad4c763abc52bed (patch) | |
tree | 1c4d97908b52dc5263d006038b9af6b5ca886ca8 /usr.bin/finger/lprint.c | |
parent | e87862f53a119884d2103da7ba52cf7d14426803 (diff) | |
download | src-6f2d322192a3949db6e0f0b4bad4c763abc52bed.tar.gz src-6f2d322192a3949db6e0f0b4bad4c763abc52bed.zip |
Remove unneeded header includes from usr.bin/ except contributed code.
Tested with: make universe
Notes
Notes:
svn path=/head/; revision=200420
Diffstat (limited to 'usr.bin/finger/lprint.c')
-rw-r--r-- | usr.bin/finger/lprint.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/finger/lprint.c b/usr.bin/finger/lprint.c index 848bbeeeb324..d656693f0aab 100644 --- a/usr.bin/finger/lprint.c +++ b/usr.bin/finger/lprint.c @@ -310,7 +310,7 @@ show_text(const char *directory, const char *file_name, const char *header) return(0); /* If short enough, and no newlines, show it on a single line.*/ - if (sb.st_size <= LINE_LEN - strlen(header) - 5) { + if (sb.st_size <= (int)(LINE_LEN - strlen(header) - 5)) { nr = read(fd, tbuf, sizeof(tbuf)); if (nr <= 0) { (void)close(fd); |