summaryrefslogtreecommitdiff
path: root/libports/manage-one-thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'libports/manage-one-thread.c')
-rw-r--r--libports/manage-one-thread.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/libports/manage-one-thread.c b/libports/manage-one-thread.c
index 90f573ff..b3db18aa 100644
--- a/libports/manage-one-thread.c
+++ b/libports/manage-one-thread.c
@@ -1,6 +1,6 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
- Written by Michael I. Bushnell.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
+ Writtenb by Michael I. Bushnell.
This file is part of the GNU Hurd.
@@ -39,7 +39,7 @@ ports_manage_port_operations_one_thread (struct port_bucket *bucket,
pi = ports_lookup_port (bucket, inp->msgh_local_port, 0);
if (pi)
{
- err = ports_begin_rpc (pi, &link);
+ err = ports_begin_rpc (pi, inp->msgh_id, &link);
if (err)
{
mach_port_deallocate (mach_task_self (), inp->msgh_remote_port);
@@ -66,5 +66,3 @@ ports_manage_port_operations_one_thread (struct port_bucket *bucket,
timeout ? MACH_RCV_TIMEOUT : 0, timeout);
while (err != MACH_RCV_TIMED_OUT);
}
-
-