diff options
Diffstat (limited to 'archivers/libarchive/files/libarchive/archive_util.c')
-rw-r--r-- | archivers/libarchive/files/libarchive/archive_util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archivers/libarchive/files/libarchive/archive_util.c b/archivers/libarchive/files/libarchive/archive_util.c index 96d61456d33..3399c0b5f49 100644 --- a/archivers/libarchive/files/libarchive/archive_util.c +++ b/archivers/libarchive/files/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; |