summaryrefslogtreecommitdiffstats
path: root/xlators/debug/error-gen/src
diff options
context:
space:
mode:
authorvinayak hegde <vinayak@gluster.com>2009-11-19 01:39:39 +0000
committerAnand V. Avati <avati@dev.gluster.com>2009-11-19 01:15:32 -0800
commitdd216deb8a9e281ec41867c354efb0067cde4785 (patch)
tree69a4707fa8370be4f58febef98b5cfa2470d3794 /xlators/debug/error-gen/src
parent6148894110fd83d020e92b49b9b6f2532d7c7a99 (diff)
debug/error-gen: Correct log messages in init function.
Signed-off-by: Vinayak Hegde <vinayak@gluster.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 291 (feature enhancement of error-gen translator) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=291
Diffstat (limited to 'xlators/debug/error-gen/src')
-rw-r--r--xlators/debug/error-gen/src/error-gen.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/xlators/debug/error-gen/src/error-gen.c b/xlators/debug/error-gen/src/error-gen.c
index c125a8705..8d97a46f1 100644
--- a/xlators/debug/error-gen/src/error-gen.c
+++ b/xlators/debug/error-gen/src/error-gen.c
@@ -2339,14 +2339,14 @@ init (xlator_t *this)
pvt->enable[i] = 0;
if (!error_no) {
gf_log (this->name, GF_LOG_DEBUG,
- "Warning error-no not specified.");
+ "error-no not specified.");
} else {
pvt->error_no = data_to_str (error_no);
}
if (!failure_percent) {
gf_log (this->name, GF_LOG_DEBUG,
- "Warning, failure percent not specified.");
+ "failure percent not specified.");
pvt->failure_iter_no = 100/GF_FAILURE_DEFAULT;
} else {
failure_percent_int = data_to_int32 (failure_percent);
@@ -2358,7 +2358,7 @@ init (xlator_t *this)
if (!enable) {
gf_log (this->name, GF_LOG_WARNING,
- "Warning, all fops are enabled.");
+ "All fops are enabled.");
for (i = 0; i < NO_OF_FOPS; i++)
pvt->enable[i] = 1;
} else {