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 02:30:18 -0700
commit25bb1061642bcaedfdfcab859a07244c2276571f (patch)
treefacdfb955a6142bd94b646ea60cee4197a715ca5
parentd3d730f2e5f8af462ee77583e4da94ef6811bc34 (diff)
CTR/Libgfdb: Log typo fix
Log typo fix for CTR Xlator and Libgfdb Change-Id: Ia39069a5ce9c48bbee937f1b5c5d749a30c9ac56 BUG: 1220100 Signed-off-by: Joseph Fernandes <josferna@redhat.com> Reviewed-on: http://review.gluster.org/10742 Reviewed-by: N Balachandran <nbalacha@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.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;
}