diff options
author | Flavio Cruz <flaviocruz@gmail.com> | 2023-05-03 18:11:46 -0400 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-05-04 00:23:58 +0200 |
commit | 717897ca40be3bb78130617c8e880137eff96d96 (patch) | |
tree | ae59f7ddfced97e8020ab7af0117a49b17ddaa75 /utils | |
parent | 9bbcc8265a062572e19dc18d679948ebbe892419 (diff) | |
download | hurd-717897ca40be3bb78130617c8e880137eff96d96.tar.gz hurd-717897ca40be3bb78130617c8e880137eff96d96.tar.bz2 hurd-717897ca40be3bb78130617c8e880137eff96d96.zip |
Use designated initializers when building mach_msg_type_t
Message-Id: <ZFLcIs0iwiC9kQDf@jupiter.tail36e24.ts.net>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/rpctrace.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/utils/rpctrace.c b/utils/rpctrace.c index 09edc1e8..f4d103e8 100644 --- a/utils/rpctrace.c +++ b/utils/rpctrace.c @@ -1105,13 +1105,13 @@ trace_and_forward (mach_msg_header_t *inp, mach_msg_header_t *outp) const mach_msg_type_t RetCodeType = { - MACH_MSG_TYPE_INTEGER_32, /* msgt_name = */ - 32, /* msgt_size = */ - 1, /* msgt_number = */ - TRUE, /* msgt_inline = */ - FALSE, /* msgt_longform = */ - FALSE, /* msgt_deallocate = */ - 0 /* msgt_unused = */ + .msgt_name = MACH_MSG_TYPE_INTEGER_32, + .msgt_size = 32, + .msgt_number = 1, + .msgt_inline = TRUE, + .msgt_longform = FALSE, + .msgt_deallocate = FALSE, + .msgt_unused = 0 }; error_t err; |