Enhanced printk() merged
Posted Jul 17, 2008 8:59 UTC (Thu) by
meuh (subscriber, #22042)
Parent article:
Enhanced printk() merged
Strange way to specify format.
According to printf() manual page:
Each conversion specification is introduced by the '%' character
[...]
after which the following appear in sequence:
- Zero or more flags
- [...]
- A conversion specifier character that indicates the type of conversion to be applied.
So, the correct way to specify a struct inode pointer should be %Ip, where I is the flag and p the conversion specifier.
Did kernel developers read userland manual pages ? :)
(
Log in to post comments)