# Re: \[PATCH\] selftests: mptcp: pm\_nl\_ctl: print sizeof() with %zu

- From: Matthieu Baerts \<matttbe@kernel.org\>
- Date: 2026-11-03 17:10:29 
- List: netdev
- Page: https://ratatoskr.run/netdev/2026/11/17854875
- Thread: https://ratatoskr.run/netdev/2026/11/17854331/t.md

```text
Hi Sasha,

On 03/11/2026 16:55, Sasha Levin wrote:
> On 32-bit architectures size_t is an unsigned int, and printing
> sizeof(struct nlmsgerr) with %ld warns:
> 
>   pm_nl_ctl.c:73:71: warning: format '%ld' expects argument of type 'long int', but argument 5 has type 'unsigned int' [-Wformat=]
> 
> Use %zu.

Thank you for the fix, it looks good to me:

Reviewed-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>

@Net maintainers: please apply this patch to net-next directly.

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.

```
