From ae4a21c8ecee7d3bb09000ff052b15772e2a6741 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Wed, 8 May 2002 09:57:02 +0000 Subject: 2002-05-08 Roland McGrath * io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t --- libdiskfs/io-map-cntl.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libdiskfs/io-map-cntl.c') diff --git a/libdiskfs/io-map-cntl.c b/libdiskfs/io-map-cntl.c index b45ccffd..d615b046 100644 --- a/libdiskfs/io-map-cntl.c +++ b/libdiskfs/io-map-cntl.c @@ -1,5 +1,5 @@ /* - Copyright (C) 1994, 1996 Free Software Foundation, Inc. + Copyright (C) 1994,96,2002 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as @@ -34,8 +34,8 @@ diskfs_S_io_map_cntl (struct protid *cred, { default_pager_object_create (diskfs_default_pager, &cred->shared_object, __vm_page_size); - vm_map (mach_task_self (), (u_int *)&cred->mapped, vm_page_size, 0, 1, - cred->shared_object, 0, 0, + vm_map (mach_task_self (), (vm_address_t *)&cred->mapped, vm_page_size, + 0, 1, cred->shared_object, 0, 0, VM_PROT_READ|VM_PROT_WRITE, VM_PROT_READ|VM_PROT_WRITE, 0); cred->mapped->shared_page_magic = SHARED_PAGE_MAGIC; cred->mapped->conch_status = USER_HAS_NOT_CONCH; -- cgit v1.2.3