mirror of
https://git.tukaani.org/xz.git
synced 2026-10-31 03:14:56 +00:00
xz: Mask the multiplier suffix in str_to_uint64() error message
A similar error message in the same function was masked in the previous commit 7e7bb6c21cf9. Fixes: https://github.com/tukaani-project/xz/pull/222
This commit is contained in:
parent
7e7bb6c21c
commit
d0d380797e
@ -154,7 +154,7 @@ str_to_uint64(const char *name, const char *value, uint64_t min, uint64_t max)
|
||||
|
||||
if (multiplier == 0) {
|
||||
message(V_ERROR, _("%s: Invalid multiplier suffix"),
|
||||
value - 1);
|
||||
tuklib_mask_nonprint(value - 1));
|
||||
message_fatal(_("Valid suffixes are 'KiB' (2^10), "
|
||||
"'MiB' (2^20), and 'GiB' (2^30)."));
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user