[PATCH 0/3] remove unnecessary trailing newlines
Colin King
colin.king at canonical.com
Tue May 29 13:11:48 UTC 2012
From: Colin Ian King <colin.king at canonical.com>
Since the logging engine handles newlines automatically we
shouldn't pass extraneous ones over to the logs as this can
mess up structured output such as XML logging. These changes
don't affect the default plaintext ASCII log since the logging
backend ignores these anyway.
Colin Ian King (3):
kernel: version: strip off trailing newline
bios: bios_info: strip off trailing newlines
bios: mtrr: strip off trailing newlines
src/bios/bios_info/bios_info.c | 1 +
src/bios/mtrr/mtrr.c | 6 +++---
src/kernel/version/version.c | 3 +++
3 files changed, 7 insertions(+), 3 deletions(-)
--
1.7.10
More information about the fwts-devel
mailing list