tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Fixing Netbsd Issue:: Convert kernel printf() to aprint_*() or log()



On 20/02/2016 20:11, Joerg Sonnenberger wrote:
> On Sat, Feb 20, 2016 at 08:34:07AM -0600, Jonathan A. Kollasch wrote:
>> The aprint_*(9) functions are *only* suitable for use within
>> autoconf(9) code.  The printf(9) or log(9) functions need to be used if
>> it is not autoconf(9)-related.  There is existing code that abuses
>> aprint_*(), please fix that too.
> 
> Some people repeat that over and over again. There is no reason why
> printf should ever be preferred and quite a few reasons why it is
> inferior. log(9) is quite different.

He's just saying what's written in printf(9), which oddly enough has no
reference to log(9).
Maybe you could suggest a suitable man page patch?

Roy


Home | Main Index | Thread Index | Old Index