From: antirez Date: Sat, 24 Mar 2012 10:52:56 +0000 (+0100) Subject: Add used allocator in redis-server -v output. X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/188a17ed563ef59bffa8b47b365079f264859b90 Add used allocator in redis-server -v output. --- diff --git a/src/redis.c b/src/redis.c index 8cfabba7..44c75353 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2185,8 +2185,8 @@ void daemonize(void) { } void version() { - printf("Redis server version %s (%s:%d)\n", REDIS_VERSION, - redisGitSHA1(), atoi(redisGitDirty()) > 0); + printf("Redis server v=%s sha=%s:%d malloc=%s\n", REDIS_VERSION, + redisGitSHA1(), atoi(redisGitDirty()) > 0, ZMALLOC_LIB); exit(0); }