Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/package.c
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-03-16 22:10:05 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-03-16 22:10:05 +0000
commitd10955065632a67fcad70e32d36eeb80b1045299 (patch)
tree2d98ecf56658420459eaf6a80d1864600e06ad36 /lib/libalpm/package.c
parent04e195284e0439436143a297a561aef1a6c35b17 (diff)
Renamed PM_RET_ERR to RET_ERR (no need for a PM_ prefix for internal
defines).
Diffstat (limited to 'lib/libalpm/package.c')
-rw-r--r--lib/libalpm/package.c6
1 files changed, 3 insertions, 3 deletions
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++) {