| commit | 01284764713b02be23e72338227ce536c740399a | [log] [tgz] |
|---|---|---|
| author | Chen Gang <gang.chen@asianux.com> | Tue Nov 12 15:11:32 2013 -0800 |
| committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Nov 13 12:09:35 2013 +0900 |
| tree | 39cd34cf7c859afb268786557bea1b327be5be5a | |
| parent | 1931d433d7a641e6a366854566ab1207a32972a6 [diff] |
kernel/panic.c: reduce 1 byte usage for print tainted buffer
sizeof("Tainted: ") already counts '\0', and after first sprintf(), 's'
will start from the current string end (its' value is '\0').
So need not add additional 1 byte for maximized usage of 'buf' in
print_tainted().
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>