diff options
-rw-r--r-- | src/compositor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compositor.c b/src/compositor.c index bdff9ed..078157a 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -1845,7 +1845,7 @@ log_timestamp(char *buf, size_t len) strftime(timestr, sizeof(timestr), "%H:%M:%S", brokendown_time); /* if datestr is empty it prints only timestr*/ - snprintf(buf, len, "%s[%s.%03li]", datestr, + snprintf(buf, len, "%s[%s.%03"PRIi64"]", datestr, timestr, (tv.tv_usec / 1000)); return buf; |