diff --git a/bin/xbps-query/show-info-files.c b/bin/xbps-query/show-info-files.c index a3d587d3..abbf8bbb 100644 --- a/bin/xbps-query/show-info-files.c +++ b/bin/xbps-query/show-info-files.c @@ -337,7 +337,7 @@ repo_show_pkg_files(struct xbps_handle *xhp, const char *pkg) { xbps_dictionary_t pkgd; - pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "./files.plist"); + pkgd = xbps_rpool_get_pkg_plist(xhp, pkg, "/files.plist"); if (pkgd == NULL) { if (errno != ENOTSUP && errno != ENOENT) { fprintf(stderr, "Unexpected error: %s\n", strerror(errno));