summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-04-24 15:17:50 +0200
committerAndrew Tridgell <tridge@samba.org>2007-04-24 15:17:50 +0200
commit3964d36c914105606131d2347a9b1d06ca161a24 (patch)
tree79c55571a0eaca89a0977adf121bbac7f55632a1
parent0ba189d423d89c7ac24d13710ca964aefdfcadd8 (diff)
downloadsamba-3964d36c914105606131d2347a9b1d06ca161a24.tar.gz
samba-3964d36c914105606131d2347a9b1d06ca161a24.tar.xz
samba-3964d36c914105606131d2347a9b1d06ca161a24.zip
add version printout
(This used to be ctdb commit 54aaf64cf0681329cdcdc4b7f76e1335952bb683)
-rw-r--r--ctdb/tools/ctdb_status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ctdb/tools/ctdb_status.c b/ctdb/tools/ctdb_status.c
index 3901be02f9..09159f972f 100644
--- a/ctdb/tools/ctdb_status.c
+++ b/ctdb/tools/ctdb_status.c
@@ -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);