The branch, 1.0.112 has been updated via 968a88f0bf0747d2ca7da48d5661d7b2df090c83 (commit) from 2192c45663bde9d5677e28f19adec8713481f4aa (commit)
http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=1.0.112 - Log ----------------------------------------------------------------- commit 968a88f0bf0747d2ca7da48d5661d7b2df090c83 Author: Ronnie Sahlberg <ronniesahlb...@gmail.com> Date: Wed Jun 2 17:06:14 2010 +1000 When we say "current time of statistics" in the "ctdb statistics" output, print the current time and not the start time ----------------------------------------------------------------------- Summary of changes: tools/ctdb.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) Changeset truncated at 500 lines: diff --git a/tools/ctdb.c b/tools/ctdb.c index 91e8212..c59a8b4 100644 --- a/tools/ctdb.c +++ b/tools/ctdb.c @@ -207,7 +207,7 @@ static void show_statistics(struct ctdb_statistics *s) days = tmp; printf("CTDB version %u\n", CTDB_VERSION); - printf("Current time of statistics : %s", ctime(&s->statistics_start_time.tv_sec)); + printf("Current time of statistics : %s", ctime(&s->statistics_current_time.tv_sec)); printf("Statistics collected since : (%03d %02d:%02d:%02d) %s", days, hours, minutes, seconds, ctime(&s->statistics_start_time.tv_sec)); for (i=0;i<ARRAY_SIZE(fields);i++) { -- CTDB repository