aboutsummaryrefslogtreecommitdiff
path: root/src/xz/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/util.c')
-rw-r--r--src/xz/util.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xz/util.c b/src/xz/util.c
index 13b67925..e1716bcb 100644
--- a/src/xz/util.c
+++ b/src/xz/util.c
@@ -116,9 +116,8 @@ str_to_uint64(const char *name, const char *value, uint64_t min, uint64_t max)
error:
message_fatal(_("Value of the option `%s' must be in the range "
- "[%llu, %llu]"), name,
- (unsigned long long)(min),
- (unsigned long long)(max));
+ "[%" PRIu64 ", %" PRIu64 "]"),
+ name, min, max);
}