kern/176051: [kernel] [patch] uipc: Simplify and correct debug printing of flags.

Christoph Mallon christoph.mallon at gmx.de
Mon Mar 31 07:32:30 UTC 2014


On 06.03.2014 00:28, Christian Brueffer wrote:
> /usr/src/sys/kern/uipc_debug.c:87:2: error: adding 'int' to a string
> does not append to the string [-Werror,-Wstring-plus-int]

No shit, Sherlock!
This is just clang being unhelpful.
The code is perfectly fine.
Who came up with this stupid warning?
I'll provide another patch.

	Christoph


More information about the freebsd-bugs mailing list