aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/event_loop.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/event_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/event_loop.c b/src/event_loop.c
index 2744677..93b67f2 100644
--- a/src/event_loop.c
+++ b/src/event_loop.c
@@ -31,7 +31,7 @@ static struct event_fd *event_fd_create(int fd, short events, event_handler hand
{
struct event_fd *res = calloc(1, sizeof(struct event_fd));
if (!res) {
- log_errno("malloc");
+ log_errno("calloc");
return NULL;
}