summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoseph Fernandes <josferna@redhat.com>2015-05-08 16:36:00 +0530
committerVijay Bellur <vbellur@redhat.com>2015-05-10 00:20:32 -0700
commit1a27c2edd6d49118a73da2f30deccb4a91bebad2 (patch)
tree6383280e89cd49a4771e53a0f89ff72931c355a1
parentddc263e2998a89030a92c9e5ed7d58db81e12b96 (diff)
CTR/Libgfdb: Log typo fix
Log typo fix for CTR Xlator and Libgfdb Change-Id: I8d7208b9756199f8dc0a72771a3c953b4fa00f3f BUG: 1215896 Signed-off-by: Joseph Fernandes <josferna@redhat.com> Reviewed-on: http://review.gluster.org/10668 Reviewed-by: Dan Lambright <dlambrig@redhat.com> Reviewed-by: N Balachandran <nbalacha@redhat.com> Tested-by: NetBSD Build System Reviewed-by: Vijay Bellur <vbellur@redhat.com> Tested-by: Vijay Bellur <vbellur@redhat.com>
-rw-r--r--libglusterfs/src/gfdb/gfdb_data_store_types.h4
-rw-r--r--xlators/features/changetimerecorder/src/ctr-helper.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/libglusterfs/src/gfdb/gfdb_data_store_types.h b/libglusterfs/src/gfdb/gfdb_data_store_types.h
index e460b15d063..72a1c89a741 100644
--- a/libglusterfs/src/gfdb/gfdb_data_store_types.h
+++ b/libglusterfs/src/gfdb/gfdb_data_store_types.h
@@ -712,7 +712,7 @@ typedef struct gfdb_connection {
data = dict_get (params_dict, param_key);\
if (!data) {\
gf_log (comp_name, GF_LOG_ERROR,\
- "Failed retriving %s from params", param_key);\
+ "Failed to retrieve %s from params", param_key);\
goto error;\
} else {\
str_value = data->data;\
@@ -730,7 +730,7 @@ typedef struct gfdb_connection {
if (!data) {\
str_value = _default_v;\
gf_log (comp_name, GF_LOG_WARNING,\
- "Failed retriving %s from params"\
+ "Failed to retrieve %s from params."\
"Assigning default value: %s",\
param_key, _default_v);\
} else {\
diff --git a/xlators/features/changetimerecorder/src/ctr-helper.c b/xlators/features/changetimerecorder/src/ctr-helper.c
index a2e2569818d..005f9097f65 100644
--- a/xlators/features/changetimerecorder/src/ctr-helper.c
+++ b/xlators/features/changetimerecorder/src/ctr-helper.c
@@ -247,7 +247,7 @@ int extract_ctr_options (xlator_t *this, gf_ctr_private_t *_priv) {
GF_OPTION_INIT ("ctr-enabled", _priv->enabled, bool, out);
if (!_priv->enabled) {
gf_log (GFDB_DATA_STORE, GF_LOG_ERROR,
- "CTR Xlator is Disable!");
+ "CTR Xlator is disabled.");
ret = 0;
goto out;
}