summaryrefslogtreecommitdiff
path: root/usr.bin/look
diff options
context:
space:
mode:
authorJordan K. Hubbard <jkh@FreeBSD.org>1997-09-15 08:31:20 +0000
committerJordan K. Hubbard <jkh@FreeBSD.org>1997-09-15 08:31:20 +0000
commit0a214d26c95dbde444ccced31b05bf7cb50c61cf (patch)
treef19b0668d10b74ee41df6d8d2739606d929337e4 /usr.bin/look
parentd56f6402d572e036660981807faec7ec579bc3f7 (diff)
downloadsrc-test-0a214d26c95dbde444ccced31b05bf7cb50c61cf.tar.gz
src-test-0a214d26c95dbde444ccced31b05bf7cb50c61cf.zip
unsigned char -> caddr_t for mmap's return value.
Notes
Notes: svn path=/head/; revision=29464
Diffstat (limited to 'usr.bin/look')
-rw-r--r--usr.bin/look/look.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/look/look.c b/usr.bin/look/look.c
index 31d4e3c2624e8..4a6cf4bf256a7 100644
--- a/usr.bin/look/look.c
+++ b/usr.bin/look/look.c
@@ -45,7 +45,7 @@ static const char copyright[] =
static char sccsid[] = "@(#)look.c 8.2 (Berkeley) 5/4/95";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: look.c,v 1.7 1997/07/23 06:46:10 charnier Exp $";
#endif /* not lint */
/*
@@ -105,7 +105,8 @@ main(argc, argv)
{
struct stat sb;
int ch, fd, termchar;
- unsigned char *back, *file, *front, *string, *p;
+ unsigned char *back, *file, *string, *p;
+ caddr_t front;
(void) setlocale(LC_CTYPE, "");