summaryrefslogtreecommitdiffstats
path: root/usr.bin/look
diff options
context:
space:
mode:
authorjkh <jkh@FreeBSD.org>1997-09-15 08:31:20 +0000
committerjkh <jkh@FreeBSD.org>1997-09-15 08:31:20 +0000
commit75fe7a4d61fa3bff5b5a33257b5f024ed9e92bef (patch)
treef86d86b7946233e1a0b55953bb59afb746784fd2 /usr.bin/look
parent950d92dde613ce4946a4ac5feedf9fc617a50605 (diff)
downloadFreeBSD-src-75fe7a4d61fa3bff5b5a33257b5f024ed9e92bef.zip
FreeBSD-src-75fe7a4d61fa3bff5b5a33257b5f024ed9e92bef.tar.gz
unsigned char -> caddr_t for mmap's return value.
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 31d4e3c..4a6cf4b 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, "");
OpenPOWER on IntegriCloud