summaryrefslogtreecommitdiff
path: root/main/stdtime
diff options
context:
space:
mode:
Diffstat (limited to 'main/stdtime')
-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 5ca43b818..b2745d919 100644
--- a/main/stdtime/localtime.c
+++ b/main/stdtime/localtime.c
@@ -309,7 +309,7 @@ static void *inotify_daemon(void *data)
/* This read should block, most of the time. */
if ((res = read(inotify_fd, &buf, sizeof(buf))) < sizeof(buf.iev) && res > 0) {
/* This should never happen */
- ast_log(LOG_ERROR, "Inotify read less than a full event (%zd < %zd)?!!\n", res, sizeof(buf.iev));
+ ast_log(LOG_ERROR, "Inotify read less than a full event (%zd < %zu)?!!\n", res, sizeof(buf.iev));
break;
} else if (res < 0) {
if (errno == EINTR || errno == EAGAIN) {