diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-08-30 21:01:58 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-10-07 20:14:38 +0200 |
commit | 398a50cdd198d2573566f44c39c335fb8a3749bf (patch) | |
tree | e24a894004f41505a23d67b3a1697522b879d525 /src | |
parent | d473176a74891256b95a4a5c89f1c0b9e1440945 (diff) |
journal: fix format string used for usec_t
Diffstat (limited to 'src')
-rw-r--r-- | src/journal/journald-server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c index 79a93df26a..015b74b203 100644 --- a/src/journal/journald-server.c +++ b/src/journal/journald-server.c @@ -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); } |