projects
/
platform
/
upstream
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ee11682
)
hurd S_msg_report_wait: Fix reporting ports
author
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Mon, 23 Nov 2020 00:24:03 +0000
(
00:24
+0000)
committer
Samuel Thibault
<samuel.thibault@ens-lyon.org>
Mon, 23 Nov 2020 00:24:03 +0000
(
00:24
+0000)
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
patch
|
blob
|
history
diff --git
a/hurd/report-wait.c
b/hurd/report-wait.c
index
487a5fb
..
752d0cc
100644
(file)
--- 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;