Permalink
Browse files

Add used allocator in redis-server -v output.

  • Loading branch information...
1 parent c793734 commit 1b247d133351c747a3c6cce8cac64e6830ccab92 @antirez antirez committed Mar 24, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/redis.c
View
@@ -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);
}

0 comments on commit 1b247d1

Please sign in to comment.