summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorNagy Gabor <ngaba@bibl.u-szeged.hu>2008-02-29 23:26:02 +0100
committerDan McGee <dan@archlinux.org>2008-03-01 22:57:59 +0100
commitaecc2fd19037d0580df9600628acace93cb0dd46 (patch)
treee38d82443d2b85901f5178400299eddea9f9ee14 /lib/libalpm/package.c
parent7613f2e21aa4df72e7a520b2cd80c592a0cb63a2 (diff)
downloadpacman-aecc2fd19037d0580df9600628acace93cb0dd46.tar.gz
pacman-aecc2fd19037d0580df9600628acace93cb0dd46.tar.xz
Set a missing pm_errno in _alpm_pkg_load()
Signed-off-by: Nagy Gabor <ngaba@bibl.u-szeged.hu> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index 363cf313..287c2ce4 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -1080,7 +1080,7 @@ pmpkg_t *_alpm_pkg_load(const char *pkgfile, unsigned short full)
if(!config) {
_alpm_log(PM_LOG_ERROR, _("missing package metadata in %s\n"), pkgfile);
- goto error;
+ goto pkg_invalid;
}
archive_read_finish(archive);