[PATCH] Improve the removed sysctl warnings
authorEric W. Biederman <ebiederm@xmission.com>
Mon, 6 Nov 2006 07:52:11 +0000 (23:52 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 6 Nov 2006 09:46:23 +0000 (01:46 -0800)
commit0e009be8a0c2309f3696df70f72ef0075aa34c9c
treec5bb299c54ec1334dd934f06ad5b6caa2880b5dd
parent64efade11cddc4237c1b95ea4ca18af122a7e19e
[PATCH] Improve the removed sysctl warnings

Don't warn about libpthread's access to kernel.version.  When it receives
-ENOSYS it will read /proc/sys/kernel/version.

If anything else shows up print the sysctl number string.

Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>
Cc: Cal Peake <cp@absolutedigital.net>
Cc: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/sysctl.c