index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-06-27 10:10:08 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-27 10:10:08 -0500 |
commit | f01c6f814a278a3d024d34fed0c219c8cb1e1e33 (patch) | |
tree | 759833d3d7c46bca4f962c5fd442ab3f37d85b14 /src/util/testpkg.c | |
parent | 77a09c92c66bd06440be0ccb75daf07c620acbee (diff) |
-rw-r--r-- | src/util/testpkg.c | 2 |
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index c6f02e34..d4d058d8 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -60,7 +60,7 @@ int main(int argc, char *argv[]) if(alpm_pkg_load(handle, argv[1], 1, PM_PGP_VERIFY_OPTIONAL, &pkg) == -1 || pkg == NULL) { - enum _pmerrno_t err = alpm_errno(handle); + err = alpm_errno(handle); switch(err) { case PM_ERR_PKG_OPEN: printf("Cannot open the given file.\n"); |