Patchwork [BUG:2926] Fix typo in log message related to io-threads.

login
register
Submitter Sachidananda
Date 2011-05-23 17:53:11
Message ID <20110523175311.GA26957@shell.gluster.com>
Download mbox | patch
Permalink /patch/7229/
State Accepted
Headers show

Comments

Sachidananda - 2011-05-23 17:53:11
Signed-off-by: Sachidananda Urs <sac@gluster.com>
---
 xlators/performance/io-threads/src/io-threads.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Patch

diff --git a/xlators/performance/io-threads/src/io-threads.c b/xlators/performance/io-threads/src/io-threads.c
index bdc8083..e791b94 100644
--- a/xlators/performance/io-threads/src/io-threads.c
+++ b/xlators/performance/io-threads/src/io-threads.c
@@ -2128,7 +2128,7 @@  reconfigure ( xlator_t *this, dict_t *options)
 
                 if (thread_count < IOT_MIN_THREADS) {
                         gf_log ("io-threads", GF_LOG_WARNING,
-                                "Number of threads opted (%d) is less then "
+                                "Number of threads opted (%d) is less than "
                                 "min (%d). Restoring it to previous value (%d)",
                                 thread_count, IOT_MIN_THREADS, conf->max_count);
 			goto out;
@@ -2191,13 +2191,13 @@  init (xlator_t *this)
                                                         "thread-count"));
                 if (thread_count < IOT_MIN_THREADS) {
                         gf_log ("io-threads", GF_LOG_WARNING,
-                                "Number of threads opted is less then min"
+                                "Number of threads opted is less than min"
                                 "threads allowed scaling it up to min");
                         thread_count = IOT_MIN_THREADS;
                 }
                 if (thread_count > IOT_MAX_THREADS) {
                         gf_log ("io-threads", GF_LOG_WARNING,
-                                "Number of threads opted is more then max"
+                                "Number of threads opted is more than max"
                                 " threads allowed scaling it down to max");
                         thread_count = IOT_MAX_THREADS;
                 }