The branch, master has been updated
       via  d42ea3b1892f6a4abd1dbcf822d0a4d5db422d38 (commit)
      from  8818d5c483558c0faa6a3923ed5e675fdcfc13af (commit)

http://gitweb.samba.org/?p=sahlberg/ctdb.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit d42ea3b1892f6a4abd1dbcf822d0a4d5db422d38
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 c99fbe5..fc74ffb 100644
--- a/tools/ctdb.c
+++ b/tools/ctdb.c
@@ -211,7 +211,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

Reply via email to