diff options
author | Matija Skala <mskala@gmx.com> | 2017-05-19 14:36:12 +0200 |
---|---|---|
committer | Sven Eden <yamakuzure@gmx.net> | 2017-07-25 09:46:52 +0200 |
commit | bb81dc92d38d5b1336ad842ef5f43f178aafcbb5 (patch) | |
tree | 01e16825ace1340bbe65f679165c0e5b57007533 /src/libelogind/sd-event | |
parent | f014d825983d55ade9a6edf2cf46c4b20b636234 (diff) |
timesync/timesyncd-manager: fix format-specifier issues
timex::time::tv_usec and timex::freq can have different sizes
depending on the host architecture. On x32 in particular,
it is 8 bytes long while the long int type is only 4 bytes
long. Hence, using li as a format specifier will trigger
a format error. Thus, introduce a new format specifier
PRI_TIMEX which is defined as PRIi64 on x32 and li
everywhere else.
Diffstat (limited to 'src/libelogind/sd-event')
0 files changed, 0 insertions, 0 deletions