summaryrefslogtreecommitdiffstats
path: root/perform
diff options
context:
space:
mode:
Diffstat (limited to 'perform')
-rw-r--r--perform/pio_engine.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perform/pio_engine.c b/perform/pio_engine.c
index 5a796e7..e75dee1 100644
--- a/perform/pio_engine.c
+++ b/perform/pio_engine.c
@@ -414,7 +414,7 @@ pio_create_filename(iotype iot, const char *base_name, char *fullname, size_t si
* handled below. */
h5_stat_t buf;
- if (stat(fullname, &buf) < 0)
+ if (HDstat(fullname, &buf) < 0)
/* The directory doesn't exist just yet */
if (mkdir(fullname, (mode_t)0755) < 0 && errno != EEXIST) {
/* We couldn't make the "/tmp/${USER,LOGIN}" subdirectory.