4 ms·
register_printf_function is deprecated; you should use register_printf_specifier instead.
by saagarjha 7y ago
register_printf_function is deprecated; you should use register_printf_specifier instead.
- eqvinox 7y agoI strongly advise against using either since both are not only non-portable, but also break any compiler support for getting you warnings when you're using it wrong. The Linux kernel style suffix extensions (cf. https://www.kernel.org/doc/Documentation/printk-formats.txt https://www.kernel.org/doc/Documentation/printk-formats.txt) are much better on the latter front.