summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-27 07:43:13 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-27 07:43:13 +0000
commit350a3972d1d372a009c67aba5af4ff0d3e25e813 (patch)
tree164ec02fd927270d844303428501eb79f4f39edd /src
parent4ad99832b547160c46b8a06d33cdc054d4a13154 (diff)
fixed an error message
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);
}