2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-09-01 14:55:39 +00:00

pie/log: print space after timestamp

(00.566486)pie: 1: seccomp: mode 0 on tid 1

Signed-off-by: Andrei Vagin <avagin@virtuozzo.com>
This commit is contained in:
Andrei Vagin
2018-05-15 23:32:06 +03:00
parent 780f0e6aa7
commit 7ed045c495

View File

@@ -69,8 +69,9 @@ static void sbuf_log_init(struct simple_buf *b)
n = std_vprint_num(pbuf, sizeof(pbuf), (unsigned)now.tv_usec, &s);
pad_num(&s, &n, 6);
memcpy(b->bp, s, n);
b->bp[n] = ')';
b->bp += n + 1;
b->bp[n++] = ')';
b->bp[n++] = ' ';
b->bp += n;
}
n = std_vprint_num(pbuf, sizeof(pbuf), sys_gettid(), &s);