summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>1996-04-27 01:17:37 +0000
committerMiles Bader <miles@gnu.org>1996-04-27 01:17:37 +0000
commit5705ab6d99df5d132282ed8bc003c57ca28a8ad4 (patch)
treef279b6ea7f74d66e16527469ac4bf18ea8488f77
parent0ce799407d2116db70de95452e77a33a61e162a9 (diff)
(service_fsys_startup):
Make the mach_msg call waiting for the startup message interruptible.
-rw-r--r--libfshelp/start-translator-long.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libfshelp/start-translator-long.c b/libfshelp/start-translator-long.c
index 851bcb7b..dc5f9984 100644
--- a/libfshelp/start-translator-long.c
+++ b/libfshelp/start-translator-long.c
@@ -113,9 +113,9 @@ service_fsys_startup (fshelp_open_fn_t underlying_open_fn,
struct fsys_startup_reply reply;
/* Wait for the fsys_startup message... */
- err = mach_msg(&request.head, (MACH_RCV_MSG
- | (timeout ? MACH_RCV_TIMEOUT : 0)),
- 0, sizeof(request), port, timeout, MACH_PORT_NULL);
+ err = mach_msg (&request.head, (MACH_RCV_MSG | MACH_RCV_INTERRUPT
+ | (timeout ? MACH_RCV_TIMEOUT : 0)),
+ 0, sizeof(request), port, timeout, MACH_PORT_NULL);
if (err)
return err;