summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/server
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 /xlators/protocol/server
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 'xlators/protocol/server')
-rw-r--r--xlators/protocol/server/src/server-handshake.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-handshake.c b/xlators/protocol/server/src/server-handshake.c
index 8478a27bab4..920a73ffc8c 100644
--- a/xlators/protocol/server/src/server-handshake.c
+++ b/xlators/protocol/server/src/server-handshake.c
@@ -414,7 +414,7 @@ server_setvolume (rpcsvc_request_t *req)
ret = dict_get_uint32 (params, "clnt-lk-version", &lk_version);
if (ret < 0) {
ret = dict_set_str (reply, "ERROR",
- "lock state verison not supplied");
+ "lock state version not supplied");
if (ret < 0)
gf_log (this->name, GF_LOG_DEBUG,
"failed to set error msg");