diff options
| author | Tim Bird <tim.bird@am.sony.com> | 2005-03-10 04:20:30 -0800 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-03-10 04:20:30 -0800 |
| commit | f1af5aff3d1fd2c43bb3b37c8b8acd844c5b54d9 (patch) | |
| tree | e37008e10a1982934ba847b9b67a5fbe1a6e1ecb /net/unix/af_unix.c | |
| parent | 91105f2f8dc9d3956b2133aff28c6df4356b05ad (diff) | |
[PATCH] printk-times bugfix for loglevel-only printks
This patch fixes a bug with the recently added printk-times feature.
In the case where a printk consists of only the log level (followed
subsequently by printks with more text for the same line), the printk-times
code doesn't correctly recognize the end of the string, and starts emitting
chars at the 0 byte at the end of the string.
The patch below fixes this problem. It also adjusts the handling of
printed_len in the routine, which was affected by the printk-times feature.
Signed-off-by: Tim Bird <tim.bird@am.sony.com>
Acked-by: Tony Luck <tony.luck@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
