summaryrefslogtreecommitdiffstats
path: root/src/pacman/pacman.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pacman/pacman.c')
-rw-r--r--src/pacman/pacman.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index d4385ebc..4559f8c6 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -219,7 +219,7 @@ static void setarch(const char *arch)
static void cleanup(int ret) {
/* free alpm library resources */
if(alpm_release() == -1) {
- pm_printf(PM_LOG_ERROR, alpm_strerrorlast());
+ pm_printf(PM_LOG_ERROR, "%s\n", alpm_strerrorlast());
}
/* free memory */