aboutsummaryrefslogtreecommitdiff
path: root/libarchive/archive_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_util.c')
-rw-r--r--libarchive/archive_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/archive_util.c b/libarchive/archive_util.c
index 96d61456d339..3399c0b5f492 100644
--- a/libarchive/archive_util.c
+++ b/libarchive/archive_util.c
@@ -449,7 +449,7 @@ __archive_mktemp(const char *tmpdir)
temp_name.s[temp_name.length-1] = '\0';
temp_name.length --;
}
- if (stat(temp_name.s, &st) < 0)
+ if (la_stat(temp_name.s, &st) < 0)
goto exit_tmpfile;
if (!S_ISDIR(st.st_mode)) {
errno = ENOTDIR;