diff options
author | Chen Gang <[email protected]> | 2012-11-06 14:45:46 +0800 |
---|---|---|
committer | Ingo Molnar <[email protected]> | 2013-01-24 18:11:03 +0100 |
commit | 349eab6eb07794c59e37703ccbfeb5920721885c (patch) | |
tree | 5fd7ab7294607ecba0e8b1b26b814bd2d9b6d57d /lib | |
parent | 2c922cd07a0ada4d68e22453c972a5d77be8f20d (diff) |
x86/process: Change %8s to %s for pr_warn() in release_thread()
the length of dead_task->comm[] is 16 (TASK_COMM_LEN)
on pr_warn(), it is not meaningful to use %8s for task->comm[].
So change it to %s, since the line is not solid anyway.
Additional information:
%8s limit the width, not for the original string output length
if name length is more than 8, it still can be fully displayed.
if name length is less than 8, the ' ' will be filled before name.
%.8s truly limit the original string output length (precision)
Signed-off-by: Chen Gang <[email protected]>
Link: http://lkml.kernel.org/n/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions