From: Karel Zak Date: Tue, 24 May 2016 12:12:54 +0000 (+0200) Subject: dmesg: fix indention X-Git-Tag: v2.29-rc1~225 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=54d172327b9080edf2b712cc0b33352032eb8f5c;p=thirdparty%2Futil-linux.git dmesg: fix indention Signed-off-by: Karel Zak --- diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c index 978bed0b2e..b351595fca 100644 --- a/sys-utils/dmesg.c +++ b/sys-utils/dmesg.c @@ -955,7 +955,7 @@ static void print_record(struct dmesg_control *ctl, (long)rec->tv.tv_usec, record_count_delta(ctl, rec)); break; case DMESG_TIMEFTM_ISO8601: - printf("%s ", iso_8601_time(ctl, rec, buf, sizeof(buf))); + ctl->indent = printf("%s ", iso_8601_time(ctl, rec, buf, sizeof(buf))); break; default: abort();