index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 22:10:05 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2005-03-16 22:10:05 +0000 |
commit | d10955065632a67fcad70e32d36eeb80b1045299 (patch) | |
tree | 2d98ecf56658420459eaf6a80d1864600e06ad36 /lib/libalpm/package.c | |
parent | 04e195284e0439436143a297a561aef1a6c35b17 (diff) |
-rw-r--r-- | lib/libalpm/package.c | 6 |
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c index 7cfd6d6a..aa61a05e 100644 --- a/lib/libalpm/package.c +++ b/lib/libalpm/package.c @@ -193,17 +193,17 @@ pmpkg_t *pkg_load(char *pkgfile) }; if(pkgfile == NULL) { - PM_RET_ERR(PM_ERR_WRONG_ARGS, NULL); + RET_ERR(PM_ERR_WRONG_ARGS, NULL); } if(tar_open(&tar, pkgfile, &gztype, O_RDONLY, 0, TAR_GNU) == -1) { - PM_RET_ERR(PM_ERR_NOT_A_FILE, NULL); + RET_ERR(PM_ERR_NOT_A_FILE, NULL); } info = pkg_new(); if(info == NULL) { tar_close(tar); - PM_RET_ERR(PM_ERR_MEMORY, NULL); + RET_ERR(PM_ERR_MEMORY, NULL); } for(i = 0; !th_read(tar); i++) { |