From: antirez <antirez@gmail.com>
Date: Sat, 8 Oct 2011 08:58:57 +0000 (+0200)
Subject: not used parameter for redisLog() removed. Error message grammar fixed.
X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/ff15dba09390b8b0a864e57fb0fdd84b20d4193d

not used parameter for redisLog() removed. Error message grammar fixed.
Thanks to @ardsrk.
---

diff --git a/src/aof.c b/src/aof.c
index 0dcf905e..2a2be896 100644
--- a/src/aof.c
+++ b/src/aof.c
@@ -52,7 +52,7 @@ int startAppendOnly(void) {
     if (rewriteAppendOnlyFileBackground() == REDIS_ERR) {
         server.appendonly = 0;
         close(server.appendfd);
-        redisLog(REDIS_WARNING,"Used tried to switch on AOF via CONFIG, I can't trigger a background AOF rewrite operation. Check the above logs for more info about the error.",strerror(errno));
+        redisLog(REDIS_WARNING,"User tried turning on AOF with CONFIG SET but I can't trigger a background AOF rewrite operation. Check the above logs for more info about the error.");
         return REDIS_ERR;
     }
     return REDIS_OK;