summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--main/stdtime/localtime.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/stdtime/localtime.c b/main/stdtime/localtime.c
index 2cd5003d1..4b005207e 100644
--- a/main/stdtime/localtime.c
+++ b/main/stdtime/localtime.c
@@ -377,7 +377,7 @@ static void *inotify_daemon(void *data)
for (;/*ever*/;) {
/* This read should block, most of the time. */
- if ((res = read(inotify_fd, &iev, real_sizeof_iev)) < sizeof(*iev) && res > 0) {
+ if ((res = read(inotify_fd, iev, real_sizeof_iev)) < sizeof(*iev) && res > 0) {
/* This should never happen */
ast_log(LOG_ERROR, "Inotify read less than a full event (%zd < %zu)?!!\n", res, sizeof(*iev));
break;