summaryrefslogtreecommitdiffstats
path: root/src/pacman/add.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-04 04:24:32 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-04 04:24:32 +0100
commitb2da4b42344444dc22f1e5b01fb4cd09033adc1d (patch)
treebcd6b0f4e960ead1c234ae3d3f21daa5d8e477d6 /src/pacman/add.c
parente3c7e92f1090204ba945c063b7aba3b3b1d8095b (diff)
downloadpacman-b2da4b42344444dc22f1e5b01fb4cd09033adc1d.tar.gz
pacman-b2da4b42344444dc22f1e5b01fb4cd09033adc1d.tar.xz
* Added archive verification when loading package metadata for -u and -A
operations (now aborts on a corrupt archive) * Fixed the pm_fprintf newline error that was plaguing us. It seems a line resetting 'neednl' was removed a while back (by me). This causes all the output errors we've been seeing
Diffstat (limited to 'src/pacman/add.c')
-rw-r--r--src/pacman/add.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/add.c b/src/pacman/add.c
index 5137a8b9..6bed818b 100644
--- a/src/pacman/add.c
+++ b/src/pacman/add.c
@@ -77,7 +77,7 @@ int pacman_add(alpm_list_t *targets)
for(i = targets; i; i = i->next) {
if(alpm_trans_addtarget(i->data) == -1) {
MSG(NL, "\n");
- ERR(NL, _("failed to add target '%s' (%s)\n"), (char *)i->data, alpm_strerror(pm_errno));
+ ERR(NL, _("failed to add target '%s' (%s)"), (char *)i->data, alpm_strerror(pm_errno));
retval = 1;
goto cleanup;
}