summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-27 01:33:50 +0000
committerMiles Bader <miles@gnu.org>1996-04-27 01:33:50 +0000
commitdabbec88cb6532c4bd9058cf6a9e7e7921fd3cf1 (patch)
tree22223f88e74df2f62852d8e32f1c8133028b1b82
parent5705ab6d99df5d132282ed8bc003c57ca28a8ad4 (diff)
(service_fsys_startup):
Make the mach_msg call sending the startup reply interruptible.
-rw-r--r--libfshelp/start-translator-long.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c
index dc5f9984..34202f43 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -157,9 +157,10 @@ service_fsys_startup (fshelp_open_fn_t underlying_open_fn,
reply.head.msgh_bits |= MACH_MSGH_BITS_COMPLEX;
}
- err = mach_msg(&reply.head, MACH_SEND_MSG, sizeof(reply), 0,
- request.head.msgh_remote_port,
- MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+ err = mach_msg (&reply.head, MACH_SEND_MSG | MACH_SEND_INTERRUPT,
+ sizeof(reply), 0,
+ request.head.msgh_remote_port,
+ MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
if (reply.RetCode)
/* Make our error return be the earlier one. */