diff --git a/src/redis.c b/src/redis.c
index 4e3de56c8dfa854f5104f9f53b79bb91ee553dec..919a8312b226d37649f7ad6e598b91788ca9c787 100644 (file)
--- a/src/redis.c
+++ b/src/redis.c
rq = calloc(1, sizeof(*rq));
if (rq == NULL) {
- ERROR("redis plugin: calloca failed adding redis_query.");
+ ERROR("redis plugin: calloc failed adding redis_query.");
return NULL;
}
status = cf_util_get_string_buffer(ci, rq->query, sizeof(rq->query));