Skip to content

Commit 4d5ed22

Browse files
committed
fix stat() macro
1 parent 284613b commit 4d5ed22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/utils/file.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ fio_safestat(const char *path, struct stat *buf)
8484
return 0;
8585
}
8686

87-
#define stat(x) fio_safestat(x)
87+
#define stat(x, y) fio_safestat(x, y)
8888

8989
static ssize_t pread(int fd, void* buf, size_t size, off_t off)
9090
{

0 commit comments

Comments
 (0)