diff --git a/bin/xbps-query/show-info-files.c b/bin/xbps-query/show-info-files.c index d991cd27..da759ffe 100644 --- a/bin/xbps-query/show-info-files.c +++ b/bin/xbps-query/show-info-files.c @@ -215,7 +215,7 @@ show_pkg_files(xbps_dictionary_t filesd, bool long_listing) if (xbps_object_type(obj) != XBPS_TYPE_DICTIONARY) continue; if (long_listing) - fmt = "{mode!strmode} {user} {group} {size!humanize} {file}"; + fmt = "{mode?0!strmode} {user?\"root\"} {group?\"root\"} {size!humanize} {file}"; else fmt = "{file}"; if (xbps_dictionary_get(obj, "target") != NULL)