summaryrefslogtreecommitdiffstats
path: root/cli/src
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@redhat.com>2012-04-10 17:12:05 -0400
committerAnand Avati <avati@redhat.com>2012-04-10 14:37:29 -0700
commit7f5c1e5777d77570be0f9698de39d2f1905c509f (patch)
tree15310f83198e38519ce5483199f70e42266d9b26 /cli/src
parent4bb82b2c779bb984a980e371c3119254cf1cb0f8 (diff)
Fix compiler warnings and typos from Debian build.
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 <pmatthaei@debian.org> for pointing these out. Change-Id: Ia32d1111d7c10b1f213df85d86b17a1326248ffd BUG: 811387 Signed-off-by: Jeff Darcy <jdarcy@redhat.com> Reviewed-on: http://review.gluster.com/3117 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli/src')
-rw-r--r--cli/src/cli-rpc-ops.c6
1 files changed, 3 insertions, 3 deletions
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