Rev 185: add version printout in http://samba.org/~tridge/ctdb ------------------------------------------------------------
revno: 185
revision-id: tridge@samba.org-20070424131750-34ohfvnt5n81nfke
parent: tridge@samba.org-20070424122434-frsb4mgeaqdpoamp
committer: Andrew Tridgell 
branch nick: tridge
timestamp: Tue 2007-04-24 15:17:50 +0200
message:
  add version printout
modified:
  tools/ctdb_status.c            ctdb_status.c-20070420100703-w2y116bm9be7hmlv-2
=== modified file 'tools/ctdb_status.c'
--- a/tools/ctdb_status.c	2007-04-24 12:24:34 +0000
+++ b/tools/ctdb_status.c	2007-04-24 13:17:50 +0000
@@ -31,6 +31,7 @@
  */
 static void show_status(struct ctdb_status *s)
 {
+	printf("CTDB version %u\\n", CTDB_VERSION);
 	printf(" client_packets_sent     %u\\n", s->client_packets_sent);
 	printf(" client_packets_recv     %u\\n", s->client_packets_recv);
 	printf("   req_call              %u\\n", s->client.req_call);

