1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

debug: keep microseconds aligned

This commit is contained in:
Zdenek Kabelac 2021-03-12 22:39:42 +01:00
parent bc1bc4cffc
commit 6e9ccf7b6f

View File

@ -472,7 +472,7 @@ static void _set_time_prefix(char *prefix, int buflen)
if (!len)
goto fail;
len = dm_snprintf(prefix + len, buflen - len, ".%ld ", ts.tv_nsec/1000);
len = dm_snprintf(prefix + len, buflen - len, ".%06ld ", ts.tv_nsec/1000);
if (len < 0)
goto fail;