summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2012-02-04 17:05:13 +0100
committerDan McGee <dan@archlinux.org>2012-02-06 12:36:22 +0100
commit216db87f999b244738ade141fa06e666aa38db72 (patch)
tree02a43afca17e858dbc1afb8ae006ecfcff065216 /src
parent0fdf0b19ced256d395366b24a669960416341d37 (diff)
downloadpacman-216db87f999b244738ade141fa06e666aa38db72.tar.gz
pacman-216db87f999b244738ade141fa06e666aa38db72.tar.xz
remove.c: make "target not found" error consistent with sync.c
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/remove.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pacman/remove.c b/src/pacman/remove.c
index 1cdf5d36..e7453c8d 100644
--- a/src/pacman/remove.c
+++ b/src/pacman/remove.c
@@ -50,7 +50,7 @@ static int remove_target(const char *target)
/* fallback to group */
alpm_group_t *grp = alpm_db_readgroup(db_local, target);
if(grp == NULL) {
- pm_printf(ALPM_LOG_ERROR, "'%s': target not found\n", target);
+ pm_printf(ALPM_LOG_ERROR, _("target not found: %s\n"), target);
return -1;
}
for(p = grp->packages; p; p = alpm_list_next(p)) {