From 7f5c1e5777d77570be0f9698de39d2f1905c509f Mon Sep 17 00:00:00 2001 From: Jeff Darcy Date: Tue, 10 Apr 2012 17:12:05 -0400 Subject: Fix compiler warnings and typos from Debian build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Mostly to do with "-Werror=format-security" being buggy, but while we're here we might as well fix some typos and such. Credit goes to Patrick Matthäi for pointing these out. Change-Id: Ia32d1111d7c10b1f213df85d86b17a1326248ffd BUG: 811387 Signed-off-by: Jeff Darcy Reviewed-on: http://review.gluster.com/3117 Tested-by: Gluster Build System Reviewed-by: Anand Avati --- cli/src/cli-rpc-ops.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/src') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index 779508ad7..4deb14e6e 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -329,7 +329,7 @@ gf_cli3_1_list_friends_cbk (struct rpc_req *req, struct iovec *iov, NULL); if (ret) gf_log ("cli", GF_LOG_ERROR, - "Error ouputting to xml"); + "Error outputting to xml"); goto out; } #endif @@ -5383,7 +5383,7 @@ gf_cli3_1_status_cbk (struct rpc_req *req, struct iovec *iov, continue; /* Brick/not-brick is handled seperately here as all - * types of nodes are contained in the default ouput + * types of nodes are contained in the default output */ memset (status.brick, 0, PATH_MAX + 255); if (!strcmp (hostname, "NFS Server") || @@ -5888,7 +5888,7 @@ gf_cli3_1_statedump_volume_cbk (struct rpc_req *req, struct iovec *iov, gf_log (THIS->name, GF_LOG_ERROR, "XDR decoding failed"); goto out; } - gf_log ("cli", GF_LOG_DEBUG, "Recieved response to statedump"); + gf_log ("cli", GF_LOG_DEBUG, "Received response to statedump"); if (rsp.op_ret) snprintf (msg, sizeof(msg), "%s", rsp.op_errstr); else -- cgit