summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-08 18:44:08 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-08 18:44:08 +0000
commit5ad27ae7b592b9e9aa75900983b6d3ead221d86f (patch)
treef31673be26d46ef6b78ae3b1c5b0de5e212ce3c8 /libdiskfs
parent9c81fdcf1b27b34c9868c34039d1d97305ed9558 (diff)
Formerly io-map-cntl.c.~3~
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/io-map-cntl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libdiskfs/io-map-cntl.c b/libdiskfs/io-map-cntl.c
index f98757ca..2e91c20b 100644
--- a/libdiskfs/io-map-cntl.c
+++ b/libdiskfs/io-map-cntl.c
@@ -17,6 +17,7 @@
#include "priv.h"
#include "io_S.h"
+#include <mach/default_pager.h>
/* Implement io_map_cntl as described in <hurd/io.defs>. */
error_t
@@ -30,7 +31,7 @@ S_io_map_cntl (struct protid *cred,
mutex_lock (&cred->po->np->lock);
if (!cred->mapped)
{
- default_pager_object_create (default_pager, &cred->shared_object,
+ 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_PROT_READ|VM_PROT_WRITE,