summaryrefslogtreecommitdiffstats
path: root/sys-utils/dmesg.c
diff options
context:
space:
mode:
authorKarel Zak2016-05-24 14:12:54 +0200
committerKarel Zak2016-05-24 14:12:54 +0200
commit54d172327b9080edf2b712cc0b33352032eb8f5c (patch)
tree108f1034c61d996d67b29e3b99a8d567a4bf59cc /sys-utils/dmesg.c
parentlast: fix logout time (diff)
downloadkernel-qcow2-util-linux-54d172327b9080edf2b712cc0b33352032eb8f5c.tar.gz
kernel-qcow2-util-linux-54d172327b9080edf2b712cc0b33352032eb8f5c.tar.xz
kernel-qcow2-util-linux-54d172327b9080edf2b712cc0b33352032eb8f5c.zip
dmesg: fix indention
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/dmesg.c')
-rw-r--r--sys-utils/dmesg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/dmesg.c b/sys-utils/dmesg.c
index 978bed0b2..b351595fc 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();