diff --git a/main/stdtime/localtime.c b/main/stdtime/localtime.c
index 2cd5003d133f237406fce9c8af3bf1aee14262c4..4b005207e6a0bbd8d0f8069a4fb0a3d0d23ee0d8 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;