summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1995-06-09 19:34:15 +0000
committerMichael I. Bushnell <mib@gnu.org>1995-06-09 19:34:15 +0000
commitd05e48e181acf16afa9cae5b8fb12f609bf0a358 (patch)
tree10ebdf7919828ad0147af33771ed4c6474fb8bc5 /libdiskfs
parentb36b95ac3d12e1e61de9fd63ccbac6f57685188c (diff)
(diskfs_set_sync_interval): Use new args for ports_allocate_port.
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/sync-interval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/sync-interval.c b/libdiskfs/sync-interval.c
index 770ccab7..4780c6c9 100644
--- a/libdiskfs/sync-interval.c
+++ b/libdiskfs/sync-interval.c
@@ -35,7 +35,6 @@ spin_lock_t periodic_sync_lock = SPIN_LOCK_INITIALIZER;
/* The filesystem control port to which we send our sync requests. */
mach_port_t control_port;
-/* ---------------------------------------------------------------- */
static void periodic_sync ();
@@ -55,7 +54,8 @@ diskfs_set_sync_interval (int interval)
{
control_port =
ports_get_right (ports_allocate_port
- (sizeof (struct port_info), PT_CTL));
+ (diskfs_port_bucket, sizeof (struct port_info),
+ diskfs_control_class));
err =
mach_port_insert_right (mach_task_self (),
control_port, control_port,