diff options
author | Werner Koch <[email protected]> | 2013-01-08 13:35:27 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2013-01-08 13:35:27 +0000 |
commit | 5c565512b8af73bee2a176530663154b9277ef1c (patch) | |
tree | 6785089957bc067d052e82d907e800c83c07b019 | |
parent | gpg: Remove a function wrapper. (diff) | |
download | gnupg-5c565512b8af73bee2a176530663154b9277ef1c.tar.gz gnupg-5c565512b8af73bee2a176530663154b9277ef1c.zip |
Make log_clock easier to read.
* common/logging.c (log_clock): Print in microseconds.
-rw-r--r-- | common/logging.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/logging.c b/common/logging.c index a8acb5299..cdfd6597c 100644 --- a/common/logging.c +++ b/common/logging.c @@ -876,7 +876,7 @@ log_clock (const char *string) if (!initial) initial = now; - log_debug ("[%llu] %s", now - initial, string); + log_debug ("[%6llu] %s", (now - initial)/1000, string); #else /* You need to link with -ltr to enable the above code. */ log_debug ("[not enabled in the source] %s", string); |