]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
add version printout
authorAndrew Tridgell <tridge@samba.org>
Tue, 24 Apr 2007 13:17:50 +0000 (15:17 +0200)
committerAndrew Tridgell <tridge@samba.org>
Tue, 24 Apr 2007 13:17:50 +0000 (15:17 +0200)
(This used to be ctdb commit 54aaf64cf0681329cdcdc4b7f76e1335952bb683)

ctdb/tools/ctdb_status.c

index 3901be02f9442fceeb1253e643019640d70256f9..09159f972fc50a6a9523c01a77cf04ee731783d8 100644 (file)
@@ -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);