summaryrefslogtreecommitdiffstats
path: root/src/pacman/sync.c
diff options
context:
space:
mode:
authorAaron Griffin <aaron@archlinux.org>2007-02-16 03:21:13 +0100
committerAaron Griffin <aaron@archlinux.org>2007-02-16 03:21:13 +0100
commit17e72ff8826d4c0569f09998f6e7b48c855f065a (patch)
tree2b3f4ed7b2a2d87058f0fe54a573ff586fbe15e3 /src/pacman/sync.c
parent4b2e236a35d20d396544ef15ac9e7dab878c92f8 (diff)
downloadpacman-17e72ff8826d4c0569f09998f6e7b48c855f065a.tar.gz
pacman-17e72ff8826d4c0569f09998f6e7b48c855f065a.tar.xz
* Bugfix FS#6422 - spacing for warning output. Due to the fact that we fixed
MSG/ERR usage earlier, the trailing '\n's are no longer needed * Oddly enough - *ADDED* some '\n's to the sync_info errors (last commit) as the package info output does not use the pm_fprintf facility and thus does not honor our newline/no-newline setup
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r--src/pacman/sync.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index eedcd96e..ec42bce2 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -340,7 +340,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets)
}
if(!db) {
- ERR(NL, _("repository '%s' does not exist"), repo);
+ ERR(NL, _("repository '%s' does not exist\n"), repo);
return(1);
}
@@ -356,7 +356,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets)
}
if(!foundpkg) {
- ERR(NL, _("package '%s' was not found in repository '%s'"), pkgstr, repo);
+ ERR(NL, _("package '%s' was not found in repository '%s'\n"), pkgstr, repo);
}
} else {
pkgstr = target;
@@ -376,7 +376,7 @@ static int sync_info(alpm_list_t *syncs, alpm_list_t *targets)
}
}
if(!foundpkg) {
- ERR(NL, _("package '%s' was not found."), pkgstr);
+ ERR(NL, _("package '%s' was not found\n"), pkgstr);
}
}
}