Add used allocator in redis-server -v output.

This commit is contained in:
antirez
2012-03-24 11:52:56 +01:00
parent 9542d9d8d7
commit 188a17ed56

View File

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