aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordacctal <donotcontactmevia@email.invalid>2026-07-19 02:24:27 +0000
committerdacctal <donotcontactmevia@email.invalid>2026-07-19 02:24:27 +0000
commitc251d37c98efba534766e914f7392cc7a0470351 (patch)
treeda42ab9a5372c36ef2d3c256f708931519e264bf
parent11ef3bc0fdbb046e0323644afb05a9cbfb28ea42 (diff)
'adding %.*s' now displays the correct pkg nameHEADmaster
-rw-r--r--src/pkg_install.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pkg_install.c b/src/pkg_install.c
index f391f96..0a1f427 100644
--- a/src/pkg_install.c
+++ b/src/pkg_install.c
@@ -202,10 +202,10 @@ void pkg_install(package_t *pkg) {
log_success("installed " GREEN "%.*s" COLOR_RESET, str_fmt(&pkg->name));
if (!pkg_exists(&pkg->name)) {
- log_pkgit("adding " GREEN "%.*s" COLOR_RESET, &pkg->name);
+ log_pkgit("adding " GREEN "%.*s" COLOR_RESET, str_fmt(&pkg->name));
if (pkg->url.len > 0) {
add_repo(pkg);
- log_pkgit("added " GREEN "%.*s" COLOR_RESET, &pkg->name);
+ log_pkgit("added " GREEN "%.*s" COLOR_RESET, str_fmt(&pkg->name));
}
} else {
log_info("repo already exists, done");