Change the warning message to reflect the reason when skipping duplicate targets. skipping target -> skipping duplicate target FS#49377 Signed-off-by: Michael Straube <michael.straube@posteo.de> --- src/pacman/remove.c | 2 +- src/pacman/sync.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pacman/remove.c b/src/pacman/remove.c index a2269ed8..f80514b4 100644 --- a/src/pacman/remove.c +++ b/src/pacman/remove.c @@ -46,7 +46,7 @@ static int remove_target(const char *target) alpm_errno_t err = alpm_errno(config->handle); if(err == ALPM_ERR_TRANS_DUP_TARGET) { /* just skip duplicate targets */ - pm_printf(ALPM_LOG_WARNING, _("skipping target: %s\n"), target); + pm_printf(ALPM_LOG_WARNING, _("skipping duplicate target: %s\n"), target); return 0; } else { pm_printf(ALPM_LOG_ERROR, "'%s': %s\n", target, alpm_strerror(err)); diff --git a/src/pacman/sync.c b/src/pacman/sync.c index 57677a42..e2710a2d 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -523,7 +523,7 @@ static int process_pkg(alpm_pkg_t *pkg) alpm_errno_t err = alpm_errno(config->handle); if(err == ALPM_ERR_TRANS_DUP_TARGET) { /* just skip duplicate targets */ - pm_printf(ALPM_LOG_WARNING, _("skipping target: %s\n"), alpm_pkg_get_name(pkg)); + pm_printf(ALPM_LOG_WARNING, _("skipping duplicate target: %s\n"), alpm_pkg_get_name(pkg)); return 0; } else { pm_printf(ALPM_LOG_ERROR, "'%s': %s\n", alpm_pkg_get_name(pkg), -- 2.19.2