summaryrefslogtreecommitdiff
path: root/lib/libalpm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/package.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/package.c b/lib/libalpm/package.c
index aa61a05e..4e56b763 100644
--- a/lib/libalpm/package.c
+++ b/lib/libalpm/package.c
@@ -215,7 +215,7 @@ pmpkg_t *pkg_load(char *pkgfile)
char *descfile;
/* extract this file into /tmp. it has info for us */
- descfile = strdup("/tmp/pacman_XXXXXX");
+ descfile = strdup("/tmp/alpm_XXXXXX");
mkstemp(descfile);
tar_extract_file(tar, descfile);
/* parse the info file */
@@ -243,7 +243,7 @@ pmpkg_t *pkg_load(char *pkgfile)
char *str;
MALLOC(str, PATH_MAX);
- fn = strdup("/tmp/pacman_XXXXXX");
+ fn = strdup("/tmp/alpm_XXXXXX");
mkstemp(fn);
tar_extract_file(tar, fn);
fp = fopen(fn, "r");