thrashing on format %u vs size_t arg

Bernd Petrovitsch bernd at petrovitsch.priv.at
Wed Sep 15 00:47:42 EDT 2021


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.

[ Fullquote deleted - please don't do that ]

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