summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2014-10-15 09:21:02 +0200
committerantirez <antirez@gmail.com>2014-10-15 09:21:02 +0200
commit93eed9ae0163e328c33b16ab9ea3c4fbe0f98674 (patch)
treef5fc91d639f3fb2dd38ca3eb90490531a8d251ea /src
parent5ba47b50ae6ea5e0ed56598d0ef33dc43c6a7abf (diff)
downloadredis-93eed9ae0163e328c33b16ab9ea3c4fbe0f98674.tar.gz
redis-cli: add missing newline in error message.
Diffstat (limited to 'src')
-rw-r--r--src/redis-cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c
index 3526319d5..07bcf0a04 100644
--- a/src/redis-cli.c
+++ b/src/redis-cli.c
@@ -1511,7 +1511,7 @@ static void findBigKeys(void) {
for(i=0;i<TYPE_NONE; i++) {
maxkeys[i] = sdsempty();
if(!maxkeys[i]) {
- fprintf(stderr, "Failed to allocate memory for largest key names!");
+ fprintf(stderr, "Failed to allocate memory for largest key names!\n");
exit(1);
}
}