summaryrefslogtreecommitdiffstats
path: root/source3/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2014-03-06 07:27:36 +0100
committerVolker Lendecke <vl@samba.org>2014-06-27 06:49:10 +0200
commit064dd03223deb86e5baaadfc2f9b72dde829d995 (patch)
tree2795fa19279397be7bf2c3bffeb5dc16d70e5a0f /source3/lib
parentb0f5fa42ffb0d142b0a8134bd2f36ab92847a874 (diff)
downloadsamba-064dd03223deb86e5baaadfc2f9b72dde829d995.tar.gz
samba-064dd03223deb86e5baaadfc2f9b72dde829d995.tar.xz
samba-064dd03223deb86e5baaadfc2f9b72dde829d995.zip
dbwrap: Print wait times with full precision
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Christof Schmitt <cs@samba.org>
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/dbwrap/dbwrap_ctdb.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/lib/dbwrap/dbwrap_ctdb.c b/source3/lib/dbwrap/dbwrap_ctdb.c
index ca33c8f65e..0b30d9fea3 100644
--- a/source3/lib/dbwrap/dbwrap_ctdb.c
+++ b/source3/lib/dbwrap/dbwrap_ctdb.c
@@ -1168,15 +1168,15 @@ again:
DEBUG(0, ("db_ctdb_fetch_locked for %s key %s, chain %d "
"needed %d attempts, %d milliseconds, "
- "chainlock: %d ms, CTDB %d ms\n",
+ "chainlock: %f ms, CTDB %f ms\n",
tdb_name(ctx->wtdb->tdb),
hex_encode_talloc(talloc_tos(),
(unsigned char *)key.dptr,
key.dsize),
chain,
migrate_attempts, duration_msecs,
- (int) chainlock_time * 1000,
- (int) ctdb_time * 1000));
+ chainlock_time * 1000.0,
+ ctdb_time * 1000.0));
}
GetTimeOfDay(&crec->lock_time);