summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 9f22450e..2c610e23 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -247,7 +247,7 @@ int pacman_deptest(list_t *targets)
/* we create a transaction to hold a dummy package to be able to use
* deps checkings from alpm_trans_prepare() */
if(alpm_trans_init(PM_TRANS_TYPE_ADD, 0, NULL) == -1) {
- ERR(NL, "error: %s\n", alpm_strerror(pm_errno));
+ ERR(NL, "%s", alpm_strerror(pm_errno));
return(1);
}