[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[hurd,commited 3/5] hurd S_msg_report_wait: Fix reporting ports
From: |
Samuel Thibault |
Subject: |
[hurd,commited 3/5] hurd S_msg_report_wait: Fix reporting ports |
Date: |
Mon, 23 Nov 2020 01:35:52 +0100 |
This fixes the parameter order of MSG_EXAMINE, thus fixing the detection
of e.g. fd ports for nicer output in ps WAIT output.
---
hurd/report-wait.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hurd/report-wait.c b/hurd/report-wait.c
index 487a5fb05a..752d0cc1c4 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;
--
2.29.2
- [hurd,commited 0/5] gcc-11-related fixes, Samuel Thibault, 2020/11/22
- [hurd,commited 3/5] hurd S_msg_report_wait: Fix reporting ports,
Samuel Thibault <=
- [hurd,commited 4/5] hurd S_msg_report_wait: Fix detecting fd ports, Samuel Thibault, 2020/11/22
- [hurd,commited 2/5] hurd: Fix strcpy calls, Samuel Thibault, 2020/11/22
- [hurd,commited 1/5] hurd: Fix _S_msg_get/set_env_variable prototype, Samuel Thibault, 2020/11/22
- [hurd,commited 5/5] hurd report-wait: Fix stpcpy usage, Samuel Thibault, 2020/11/22