From: Zdenek Kabelac <zkabelac@sourceware.org>
To: lvm-devel@redhat.com
Subject: main - debug: keep microseconds aligned
Date: Mon, 15 Mar 2021 10:14:18 +0000 (GMT) [thread overview]
Message-ID: <20210315101418.5D09D3857C52@sourceware.org> (raw)
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=6e9ccf7b6f58cd3e31a79c35d3a312560809e85a
Commit: 6e9ccf7b6f58cd3e31a79c35d3a312560809e85a
Parent: bc1bc4cffc2b5faa113b5c232aa5fc2faae8771a
Author: Zdenek Kabelac <zkabelac@redhat.com>
AuthorDate: Fri Mar 12 22:39:42 2021 +0100
Committer: Zdenek Kabelac <zkabelac@redhat.com>
CommitterDate: Mon Mar 15 11:13:24 2021 +0100
debug: keep microseconds aligned
---
lib/log/log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/log/log.c b/lib/log/log.c
index cd676f2ae..53ff5b156 100644
--- a/lib/log/log.c
+++ b/lib/log/log.c
@@ -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;
reply other threads:[~2021-03-15 10:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210315101418.5D09D3857C52@sourceware.org \
--to=zkabelac@sourceware.org \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.