X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/0b913c650dae1c744a378a8e153ce2fcb8fe7c6a..0342dd76476176bcbea1b49c20e49e40adbbe4a2:/src/redis.c diff --git a/src/redis.c b/src/redis.c index eaa41a5d..7da9c545 100644 --- a/src/redis.c +++ b/src/redis.c @@ -2042,7 +2042,7 @@ sds genRedisInfoString(char *section) { } } - /* Clusetr */ + /* Cluster */ if (allsections || defsections || !strcasecmp(section,"cluster")) { if (sections++) info = sdscat(info,"\r\n"); info = sdscatprintf(info, @@ -2302,8 +2302,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); }