Add used allocator in redis-server -v output.

This commit is contained in:
antirez 2012-03-24 11:52:56 +01:00
parent c79373482f
commit 1b247d1333

View File

@ -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);
}