journal: fix format string used for usec_t
This commit is contained in:
parent
d473176a74
commit
398a50cdd1
|
@ -943,7 +943,7 @@ static void dispatch_message_real(
|
|||
assert(n <= m);
|
||||
|
||||
if (tv) {
|
||||
sprintf(source_time, "_SOURCE_REALTIME_TIMESTAMP=%llu", (unsigned long long) timeval_load(tv));
|
||||
sprintf(source_time, "_SOURCE_REALTIME_TIMESTAMP=" USEC_FMT, timeval_load(tv));
|
||||
IOVEC_SET_STRING(iovec[n++], source_time);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue