summaryrefslogtreecommitdiff
path: root/libdiskfs/io-map-cntl.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2002-05-08 09:57:02 +0000
committerRoland McGrath <roland@gnu.org>2002-05-08 09:57:02 +0000
commitae4a21c8ecee7d3bb09000ff052b15772e2a6741 (patch)
tree7b406d23d6952f0fd7295ee5ad9e4a1f7a6020fc /libdiskfs/io-map-cntl.c
parentbe49336ef4baab0dc1a61ba3fd53ba01340e7a80 (diff)
2002-05-08 Roland McGrath <roland@frob.com>
* io-map-cntl.c (diskfs_S_io_map_cntl): u_int -> vm_address_t
Diffstat (limited to 'libdiskfs/io-map-cntl.c')
-rw-r--r--libdiskfs/io-map-cntl.c6
1 files changed, 3 insertions, 3 deletions
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;