Prefix humanize_number() with xbps_.
This will avoid clashes if xbps ever works on NetBSD. --HG-- extra : convert_revision : 064b690988ba5cd75de55eacd9f37996a952da17
This commit is contained in:
parent
a928bf02e2
commit
fa793a5044
3 changed files with 3 additions and 3 deletions
|
@ -387,7 +387,7 @@ xbps_show_pkg_info(prop_dictionary_t dict)
|
|||
obj = prop_dictionary_get(dict, "installed_size");
|
||||
if (obj && prop_object_type(obj) == PROP_TYPE_NUMBER) {
|
||||
printf("Installed size: ");
|
||||
rv = humanize_number(size, 5,
|
||||
rv = xbps_humanize_number(size, 5,
|
||||
(int64_t)prop_number_unsigned_integer_value(obj),
|
||||
"", HN_AUTOSCALE, HN_NOSPACE);
|
||||
if (rv == -1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue