index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aaron Griffin <aaron@archlinux.org> | 2007-01-18 16:52:57 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2007-01-18 16:52:57 +0000 |
commit | 86b136bb592bf576a3da950fee153f6d4f5b9d15 (patch) | |
tree | f6289e427de5c5b2cfd3e3d37b75fc9506eb3bdb /src/pacman/sync.c | |
parent | 46e26ac5c8d15fbb2385ad972f2f69891a0bd8d0 (diff) |
-rw-r--r-- | src/pacman/sync.c | 6 |
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)); |