summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-22 00:24:17 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2020-11-22 00:24:17 +0100
commit5a17a4debf5fdb649ae3911f1e3679f4fcb97f0f (patch)
tree55af4fce395437fecd73e07d0d4ff5e85e2f78b2
parent8d0fcd6e189e38fc270810a05fe3c6c763a56a28 (diff)
proc: Fix warning
* proc/stubs.c (send_signal): Add missing warning in union inside mach_msg_header_t.
-rw-r--r--proc/stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc/stubs.c b/proc/stubs.c
index e0ab96eb..b5f9d09b 100644
--- a/proc/stubs.c
+++ b/proc/stubs.c
@@ -91,7 +91,7 @@ send_signal (mach_port_t msgport,
MACH_MSG_TYPE_MAKE_SEND_ONCE)), /* msgh_bits */
sizeof message, /* msgh_size */
msgport, /* msgh_remote_port */
- MACH_PORT_NULL, /* msgh_local_port */
+ { MACH_PORT_NULL }, /* msgh_local_port */
0, /* msgh_seqno */
RPCID_SIG_POST, /* msgh_id */
},