]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
dmesg: fix indention
authorKarel Zak <kzak@redhat.com>
Tue, 24 May 2016 12:12:54 +0000 (14:12 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 24 May 2016 12:12:54 +0000 (14:12 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
sys-utils/dmesg.c

index 978bed0b2ea2e9029f13b944621b4f981a09a9d3..b351595fca6883ca6a15db9b58e9de4d4828b6cf 100644 (file)
@@ -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();