From f1057534e769f3a9003e8f6c2e32f14e0d7cd82d Mon Sep 17 00:00:00 2001 From: mrb Date: Wed, 25 Jul 2012 09:55:53 -0400 Subject: [PATCH] Fix warning in redis.c for sentinel config load --- src/redis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redis.c b/src/redis.c index 8dc0e0eb..432f6196 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2559,7 +2559,7 @@ int main(int argc, char **argv) { loadServerConfig(configfile,options); sdsfree(options); } else { - redisLog(REDIS_WARNING,"Warning: no config file specified, using the default config. In order to specify a config file use 'redis-server /path/to/redis.conf'"); + redisLog(REDIS_WARNING, "Warning: no config file specified, using the default config. In order to specify a config file use %s /path/to/%s.conf", argv[0], server.sentinel_mode ? "sentinel" : "redis"); } if (server.daemonize) daemonize(); initServer(); -- 2.47.2