diff options
author | Filipe Brandenburger <filbranden@google.com> | 2018-06-26 18:43:49 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2018-06-26 20:39:07 +0200 |
commit | ad4bc3352285f467f4ffa03c3171b19fa0a8758d (patch) | |
tree | 5cb1c3790fdd07997a7f31ebcde82f548c1ba4ee /src/resolve/resolvectl.c | |
parent | README.md: add an LGTM badge (diff) | |
download | systemd-ad4bc3352285f467f4ffa03c3171b19fa0a8758d.tar.xz systemd-ad4bc3352285f467f4ffa03c3171b19fa0a8758d.zip |
sleep: fix printf format of fiemap fields
Use PRIu64 and PRIu32 constants to also get the format right on LP-64
architectures.
For the 64-bit fields, we need a cast to (uint64_t), since __u64 is
defined as a `long long unsigned` and PRIu64 expects a `long unsigned`.
In practice, both are the same, so the cast should be OK.
Diffstat (limited to 'src/resolve/resolvectl.c')
0 files changed, 0 insertions, 0 deletions