From 6328019bd197efa25294194acaf946557d84f9fb Mon Sep 17 00:00:00 2001 From: Kaushal M Date: Wed, 23 Jul 2014 18:08:08 +0530 Subject: cli: Fix no libxml compilation for snapshot status BUG: 1122186 Change-Id: Ib887f2194258e85d40f65a758b6a963a17911395 Signed-off-by: Kaushal M Reviewed-on: http://review.gluster.org/8363 Reviewed-by: Rajesh Joseph Reviewed-by: Santosh Pradhan Tested-by: Gluster Build System Reviewed-by: Atin Mukherjee --- cli/src/cli-rpc-ops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'cli/src/cli-rpc-ops.c') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index d195db5f6e0..4044f0e741c 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -8568,9 +8568,7 @@ cli_snapshot_status (dict_t *dict, gf_cli_rsp *rsp, } if (global_state->mode & GLUSTER_MODE_XML) { - ret = cli_xml_snapshot_status_per_snap (local->writer, - local->doc, - dict, key); + ret = cli_xml_snapshot_status_single_snap (local, dict, key); if (ret) { gf_log ("cli", GF_LOG_ERROR, "Failed to create " "xml output for snapshot status"); -- cgit