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 --- xlators/mgmt/glusterd/src/glusterd-utils.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xlators/mgmt/glusterd/src/glusterd-utils.c') diff --git a/xlators/mgmt/glusterd/src/glusterd-utils.c b/xlators/mgmt/glusterd/src/glusterd-utils.c index 71616ebb8..77bc472c7 100644 --- a/xlators/mgmt/glusterd/src/glusterd-utils.c +++ b/xlators/mgmt/glusterd/src/glusterd-utils.c @@ -4398,7 +4398,7 @@ check_xattr: if (uuid_compare (old_uuid, uuid)) { uuid_utoa_r (old_uuid, old_uuid_buf); gf_log (THIS->name, GF_LOG_WARNING, - "%s: mismatching volume-id (%s) recieved. " + "%s: mismatching volume-id (%s) received. " "already is a part of volume %s ", path, uuid_utoa (uuid), old_uuid_buf); snprintf (msg, sizeof (msg), "'%s:%s' has been part of " @@ -4962,7 +4962,7 @@ glusterd_set_dump_options (char *dumpoptions_path, char *options, goto out; } dup_options = gf_strdup (options); - gf_log ("", GF_LOG_INFO, "Recieved following statedump options: %s", + gf_log ("", GF_LOG_INFO, "Received following statedump options: %s", dup_options); option = strtok_r (dup_options, " ", &tmpptr); while (option) { -- cgit