diff options
author | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:39 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2011-07-02 02:01:39 +1000 |
commit | afc96f2ab3d05f14a73e81f871164f01423b5572 (patch) | |
tree | 16ff0c0f2390b51ed43cfaa1a9ec508678793ec6 /src/util/testpkg.c | |
parent | bd88a8d5511c24db55dd2a5c04161918571dbfbd (diff) |
Prefix _alpm_errno_t members with ALPM
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'src/util/testpkg.c')
-rw-r--r-- | src/util/testpkg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/testpkg.c b/src/util/testpkg.c index cfde486a..03234ed5 100644 --- a/src/util/testpkg.c +++ b/src/util/testpkg.c @@ -62,11 +62,11 @@ int main(int argc, char *argv[]) || pkg == NULL) { err = alpm_errno(handle); switch(err) { - case PM_ERR_PKG_OPEN: + case ALPM_ERR_PKG_OPEN: printf("Cannot open the given file.\n"); break; - case PM_ERR_LIBARCHIVE: - case PM_ERR_PKG_INVALID: + case ALPM_ERR_LIBARCHIVE: + case ALPM_ERR_PKG_INVALID: printf("Package is invalid.\n"); break; default: |