index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <dreisner@archlinux.org> | 2013-07-03 20:33:19 -0400 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2013-07-05 14:32:23 +1000 |
commit | eb19d41d5f85f169cee7570f783821cb705ad37a (patch) | |
tree | 245a12aa27e01a6f8ee74f5c1624d4e341551b81 /lib/libalpm/dload.c | |
parent | 7b8f8753b15037bf4a88126ffde8195416432c72 (diff) |
-rw-r--r-- | lib/libalpm/dload.c | 2 |
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index 7513822e..b759c78c 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -366,7 +366,7 @@ static FILE *create_tempfile(struct dload_payload *payload, const char *localpat fchmod(fd, ~(_getumask()) & 0666) || !(fp = fdopen(fd, payload->tempfile_openmode))) { unlink(randpath); - CLOSE(fd); + close(fd); _alpm_log(payload->handle, ALPM_LOG_ERROR, _("failed to create temporary file for download\n")); free(randpath); |