Hi Dave,
On Thu, 25 Oct 2012 15:00:58 -0400 (EDT)
Dave Anderson <anderson(a)redhat.com> wrote:
[..]
This patch work for you?
--- kernel.c 15 Oct 2012 19:05:39 -0000 1.286
+++ kernel.c 25 Oct 2012 18:48:59 -0000
@@ -4166,8 +4166,14 @@
fprintf(fp, buf);
}
- for (i = 0, p = msg; i < text_len; i++, p++)
- fputc(isprint(*p) ? *p : '.', fp);
+ for (i = 0, p = msg; i < text_len; i++, p++) {
+ if (*p == '\n')
+ fprintf(fp, "\n%s", space(ilen));
+ else if (isprint(*p) || isspace(*p))
+ fputc(*p, fp);
+ else
+ fputc('.', fp);
+ }
if (dict_len & (msg_flags & SHOW_LOG_DICT)) {
fprintf(fp, "\n");
Your patch is the better solution. I works for me!
Thanks!
Michael