thrashing on format %u vs size_t arg

jim.cromie at gmail.com jim.cromie at gmail.com
Wed Sep 15 12:20:15 EDT 2021


On Tue, Sep 14, 2021 at 10:47 PM Bernd Petrovitsch
<bernd at petrovitsch.priv.at> wrote:
>
> On 15/09/2021 00:38, jim.cromie at gmail.com wrote:
> > I will cast and be done with it
>
> Or you use - like everyone else - "%zu" as format
> specifier.
>
> Read `man 3 printf` for more - the Kernel's printk
> implements almost all of it.
>

thank you, Id never seen %zu.
failure of imagination I guess.


> [ Fullquote deleted - please don't do that ]
>

I dont understand this -
I did top-post (using my phone, not "native" email, mea culpa)
but thats not what you said ..
are you against tail-trimming emails in reply ?

again, thanks

> MfG,
>         Bernd
> --
> Bernd Petrovitsch                  Email : bernd at petrovitsch.priv.at
>       There is NO CLOUD, just other people's computers. - FSFE
>                       LUGA : http://www.luga.at



More information about the Kernelnewbies mailing list