summaryrefslogtreecommitdiffstats
path: root/perform/overhead.c
diff options
context:
space:
mode:
Diffstat (limited to 'perform/overhead.c')
-rw-r--r--perform/overhead.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perform/overhead.c b/perform/overhead.c
index 903776e..264a3ce 100644
--- a/perform/overhead.c
+++ b/perform/overhead.c
@@ -257,7 +257,7 @@ test(fill_t fill_style, const double splits[],
/* Determine overhead */
if (verbose) {
if (H5Fflush(file, H5F_SCOPE_LOCAL)<0) goto error;
- if (fstat(fd, &sb)<0) goto error;
+ if (HDfstat(fd, &sb)<0) goto error;
/*
* The extra cast in the following statement is a bug workaround
* for the Win32 version 5.0 compiler.
@@ -302,7 +302,7 @@ test(fill_t fill_style, const double splits[],
#if !defined( __MWERKS__)
- if (fstat(fd, &sb)<0) goto error;
+ if (HDfstat(fd, &sb)<0) goto error;
printf("%-7s %8.3f\n", sname,
(double)(hssize_t)(sb.st_size-cur_size[0]*sizeof(int))/
(hssize_t)cur_size[0]);