aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-28 13:10:35 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-08-28 13:10:35 +0200
commit4f82ae66628a517585d6bef9465662a45481d024 (patch)
treebfe4affbca50e455b59925b007b19ea096bfb99f /include
parent30c93547cd14db1ae44ea9e32bf36a2c2b152c07 (diff)
downloadgnumach-4f82ae66628a517585d6bef9465662a45481d024.tar.gz
gnumach-4f82ae66628a517585d6bef9465662a45481d024.tar.bz2
gnumach-4f82ae66628a517585d6bef9465662a45481d024.zip
copyinmsg: Set msgh_size inside copyinmsg rather than the caller
In the 32/64 conversion case it is copyinmsg that will know the eventual size.
Diffstat (limited to 'include')
-rw-r--r--include/mach/message.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mach/message.h b/include/mach/message.h
index 0a7297e1..30c07296 100644
--- a/include/mach/message.h
+++ b/include/mach/message.h
@@ -132,7 +132,7 @@ typedef unsigned int mach_msg_size_t;
typedef natural_t mach_msg_seqno_t;
typedef integer_t mach_msg_id_t;
-typedef struct {
+typedef struct mach_msg_header {
mach_msg_bits_t msgh_bits;
mach_msg_size_t msgh_size;
mach_port_t msgh_remote_port;