diff options
Diffstat (limited to 'src/pacman/sync.c')
-rw-r--r-- | src/pacman/sync.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pacman/sync.c b/src/pacman/sync.c index c6eb603d..fdc0fb92 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -212,6 +212,12 @@ static int sync_synctree(int level, list_t *syncs) if(ret < 0) { if(pm_errno == PM_ERR_DB_SYNC) { /* use libdownload error */ + /* TODO breaking abstraction barrier here? + * pacman -> libalpm -> libdownload + * + * Yes. This will be here until we add a nice pacman "pm_errstr" or + * something, OR add all libdownload error codes into the pm_error enum + */ ERR(NL, _("failed to synchronize %s: %s\n"), sync->treename, downloadLastErrString); } else { ERR(NL, _("failed to update %s (%s)\n"), sync->treename, alpm_strerror(pm_errno)); |