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.
This commit is contained in:
Samuel Thibault 2020-11-23 00:24:03 +00:00
parent ee11682d4f
commit c57fe5462b

View File

@ -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;