[SCM] CTDB repository - branch 1.0.112 updated - ctdb-1.0.111-92-g968a88f
Ronnie Sahlberg
sahlberg at samba.org
Wed Jun 2 01:08:37 MDT 2010
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 <ronniesahlberg at 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
More information about the samba-cvs
mailing list