index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-08-25 18:29:00 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-08-28 19:52:41 -0500 |
commit | 2cfcc874b9332ad207398b9e20dc8880d93e8ae4 (patch) | |
tree | 6276468d8aa91c6e8546704a5c92166752c01ac6 /lib/libalpm/be_package.c | |
parent | dc3336c27728fc16d2f9e68cb818648e7ca88467 (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 2 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 2566574d..0e58d20a 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -308,7 +308,7 @@ alpm_pkg_t *_alpm_pkg_load_internal(alpm_handle_t *handle, const char *pkgfile, newpkg->size = st.st_size; } else { /* couldn't stat the pkgfile, return an error */ - RET_ERR(handle, ALPM_ERR_PKG_OPEN, NULL); + RET_ERR(handle, ALPM_ERR_PKG_NOT_FOUND, NULL); } /* can we get away with skipping checksums? */ |