summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pacman/sync.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c
index 4245b964..3d5289a0 100644
--- a/src/pacman/sync.c
+++ b/src/pacman/sync.c
@@ -618,10 +618,8 @@ int pacman_sync(alpm_list_t *targets)
case PM_ERR_UNSATISFIED_DEPS:
for(i = data; i; i = alpm_list_next(i)) {
pmdepmissing_t *miss = alpm_list_getdata(i);
- MSG(NL, ":: %s %s %s", alpm_dep_get_target(miss),
- alpm_dep_get_type(miss) == PM_DEP_TYPE_DEPEND ?
- _("requires") : _("is required by"),
- alpm_dep_get_name(miss));
+ MSG(NL, ":: %s %s %s", alpm_dep_get_target(miss), _("requires"),
+ alpm_dep_get_name(miss));
switch(alpm_dep_get_mod(miss)) {
case PM_DEP_MOD_ANY:
break;