From 0f466d54ea302459597d7a62905ae74cf975b879 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 11 Jul 1999 19:40:55 +0000 Subject: 1999-07-11 Roland McGrath * dir.c (diskfs_get_directs): Fix sloppy bugs in last change. * hyper.c (allocate_mod_map): Likewise. * pager.c (get_page_buf): Likewise. --- ext2fs/dir.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ext2fs/dir.c') diff --git a/ext2fs/dir.c b/ext2fs/dir.c index 03e5aab9..76fcd0ea 100644 --- a/ext2fs/dir.c +++ b/ext2fs/dir.c @@ -867,8 +867,7 @@ diskfs_get_directs (struct node *dp, allocsize = round_page (bufsiz); if (allocsize > *datacnt) - *data = (vm_address_t) mmap (0, allocsize, PROT_READ|PROT_WRITE, - MAP_ANON, 0, 0); + *data = mmap (0, allocsize, PROT_READ|PROT_WRITE, MAP_ANON, 0, 0); /* Scan through the entries to find ENTRY. If we encounter a -1 in the process then stop to fill it. When we run -- cgit v1.2.3