aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-23 00:24:03 +0000
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-23 00:24:03 +0000
commitc57fe5462ba5eb7331a223bbb7abd8ae273747c1 (patch)
tree67f2e2caa62edfe9adc021bd7f6897fbb223c91a /hurd
parentee11682d4f530cbbd29b9e3aa69e8d7f8c269d1c (diff)
downloadglibc-c57fe5462ba5eb7331a223bbb7abd8ae273747c1.zip
glibc-c57fe5462ba5eb7331a223bbb7abd8ae273747c1.tar.gz
glibc-c57fe5462ba5eb7331a223bbb7abd8ae273747c1.tar.bz2
hurd S_msg_report_wait: Fix reporting ports
This fixes the parameter order of MSG_EXAMINE, thus fixing the detection of e.g. fd ports for nicer output in ps WAIT output.
Diffstat (limited to 'hurd')
-rw-r--r--hurd/report-wait.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/report-wait.c b/hurd/report-wait.c
index 487a5fb..752d0cc 100644
--- a/hurd/report-wait.c
+++ b/hurd/report-wait.c
@@ -152,7 +152,7 @@ _S_msg_report_wait (mach_port_t msgport, thread_t thread,
/* Blocked in a system call. */
if (*msgid == -25
/* mach_msg system call. Examine its parameters. */
- && MSG_EXAMINE (&state, msgid, &send_port, &rcv_port,
+ && MSG_EXAMINE (&state, msgid, &rcv_port, &send_port,
&option, &timeout) == 0)
{
char *p;