kernel/params.c: use scnprintf() instead of sprintf()
authorChen Gang <gang.chen@asianux.com>
Tue, 20 Aug 2013 06:05:04 +0000 (15:35 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 20 Aug 2013 06:07:46 +0000 (15:37 +0930)
For some strings (e.g. version string), they are permitted to be larger
than PAGE_SIZE (although meaningless), so recommend to use scnprintf()
instead of sprintf().

Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
kernel/params.c

diff --cc kernel/params.c
Simple merge