aboutsummaryrefslogtreecommitdiff
path: root/hurd/report-wait.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/report-wait.c')
-rw-r--r--hurd/report-wait.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/hurd/report-wait.c b/hurd/report-wait.c
index 7fc9293..18763d0 100644
--- a/hurd/report-wait.c
+++ b/hurd/report-wait.c
@@ -93,6 +93,9 @@ describe_port (string_t description, mach_port_t port)
}
+/* Common defn so we don't link in the itimer code unnecssarily. */
+thread_t _hurd_itimer_thread; /* XXX */
+
kern_return_t
_S_msg_report_wait (mach_port_t msgport, thread_t thread,
string_t description, int *msgid)
@@ -102,6 +105,8 @@ _S_msg_report_wait (mach_port_t msgport, thread_t thread,
if (thread == _hurd_msgport_thread)
/* Cute. */
strcpy (description, "msgport");
+ else if (thread == _hurd_itimer_thread)
+ strcpy (description, "itimer");
else
{
/* Make sure this is really one of our threads. */