Applied, thanks!
Etienne Brateau, le ven. 06 déc. 2024 14:44:19 +0100, a ecrit:
> msgh_size is a mach_msg_size_t which represent an unsigned int, so %u
> must me used there instead of %d
> ---
> ipc/ipc_kmsg.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/ipc/ipc_kmsg.c b/ipc/ipc_kmsg.c
> index b23cae7c..fe6582d1 100644
> --- a/ipc/ipc_kmsg.c
> +++ b/ipc/ipc_kmsg.c
> @@ -2796,7 +2796,7 @@ ipc_msg_print(mach_msg_header_t *msgh)
> MACH_MSGH_BITS_LOCAL(msgh->msgh_bits),
> MACH_MSGH_BITS_REMOTE(msgh->msgh_bits));
>
> - db_printf("msgh_id=%d,size=%d,seqno=%d,",
> + db_printf("msgh_id=%d,size=%u,seqno=%d,",
> msgh->msgh_id,
> msgh->msgh_size,
> msgh->msgh_seqno);
> --
> 2.47.1
>
>
--
Samuel
/* Halley */
(Halley's comment.)