ctdb-tools: Produce machine readable output with new function printm()
authorMartin Schwenke <martin@meltin.net>
Wed, 19 Nov 2014 05:35:35 +0000 (16:35 +1100)
committerMartin Schwenke <martins@samba.org>
Fri, 5 Dec 2014 20:02:39 +0000 (21:02 +0100)
commitfbacbb9c7868e22c04980af3602bae59dd5fe34d
treeeb6af32e0b3a2001237ae7942a7e63009fce6fc7
parentabf867da764b60e94c43ab9ec1d5338ac99ec18d
ctdb-tools: Produce machine readable output with new function printm()

printm() is a printf(3) replacement and must be used to printing any
machine readable output.  It currently just calls vprintf(3).  Later
it will change the field delimiter.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tools/ctdb.c