Commit d2988258 authored by antirez's avatar antirez
Browse files

Print arch bits with redis-server -v

parent 20656825
......@@ -2251,8 +2251,12 @@ void daemonize(void) {
}
void version() {
printf("Redis server v=%s sha=%s:%d malloc=%s\n", REDIS_VERSION,
redisGitSHA1(), atoi(redisGitDirty()) > 0, ZMALLOC_LIB);
printf("Redis server v=%s sha=%s:%d malloc=%s bits=%d\n",
REDIS_VERSION,
redisGitSHA1(),
atoi(redisGitDirty()) > 0,
ZMALLOC_LIB,
sizeof(long) == 4 ? 32 : 64);
exit(0);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment