diff options
author | Kay Sievers <kay@vrfy.org> | 2012-07-16 18:35:29 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-08-09 08:22:54 -0700 |
commit | 8901aca058c3eeb25f0325f491ef4119c507eb2b (patch) | |
tree | 20e6700113a0848ae720842f6203f47eef2bd261 /fs | |
parent | ca118568299f5e4ec8ad2dcd6776038fb16e6ad3 (diff) |
kmsg - properly print over-long continuation lines
commit 70498253186586e5dca7bc3ebd3415203b059fbc upstream.
Reserve PREFIX_MAX bytes in the LOG_LINE_MAX line when buffering a
continuation line, to be able to properly prefix the LOG_LINE_MAX
line with the syslog prefix and timestamp when printing it.
Reported-By: Dave Jones <davej@redhat.com>
Signed-off-by: Kay Sievers <kay@vrfy.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions