summaryrefslogtreecommitdiff
path: root/debian/patches/introspection0012-fixup_libintrospection.patch
blob: 2b4a755c53654182c20b3910c7dfab6fab402d2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From c92a80c9dac60ecce35fba41a28807e1dd10891f Mon Sep 17 00:00:00 2001
From: Justus Winter <4winter@informatik.uni-hamburg.de>
Date: Fri, 25 Sep 2015 21:43:03 +0200
Subject: [PATCH hurd 12/12] fixup_libintrospection

---
 libintrospection/trace.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libintrospection/trace.c b/libintrospection/trace.c
index c053916..6654515 100644
--- a/libintrospection/trace.c
+++ b/libintrospection/trace.c
@@ -121,8 +121,8 @@ introspection_trace_message (mach_port_t trace_port,
       : msgp->msgh_local_port,
     };
 
-  err = mach_msg (copyp, MACH_SEND_MSG|MACH_MSG_OPTION_NONE, size,
-		  0, MACH_PORT_NULL, MACH_MSG_TIMEOUT_NONE, MACH_PORT_NULL);
+  err = mach_msg (copyp, MACH_SEND_MSG|MACH_SEND_TIMEOUT, size,
+		  0, MACH_PORT_NULL, 10 /* ms */, MACH_PORT_NULL);
 
   free (copyp);
   return err;
-- 
2.1.4