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/1b247d133351c747a3c6cce8cac64e6830ccab92 Add used allocator in redis-server -v output. --- diff --git a/src/redis.c b/src/redis.c index bae852b8..2f27b4dd 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2236,8 +2236,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); }