summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2008-03-01 23:24:42 +0100
committerDan McGee <dan@archlinux.org>2008-03-01 23:24:42 +0100
commit73ac9f7b27c3da538dad0f59c28f67badbb43a64 (patch)
treea8dffd3a8076da7ebcd7bf4b92626caf92d0d7c5 /lib
parentd734ebdde270c1e13e3b910e731bea88d874a51c (diff)
parentaecc2fd19037d0580df9600628acace93cb0dd46 (diff)
downloadpacman-73ac9f7b27c3da538dad0f59c28f67badbb43a64.tar.gz
pacman-73ac9f7b27c3da538dad0f59c28f67badbb43a64.tar.xz
Merge branch 'maint'
Diffstat (limited to 'lib')
-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 d4341819..dbe3c982 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -1103,7 +1103,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);