summaryrefslogtreecommitdiff
path: root/os/os-freebsd.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/os-freebsd.h')
-rw-r--r--os/os-freebsd.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/os/os-freebsd.h b/os/os-freebsd.h
index 1f114f8c..7a79dd0f 100644
--- a/os/os-freebsd.h
+++ b/os/os-freebsd.h
@@ -9,7 +9,6 @@
#define FIO_HAVE_POSIXAIO
#define FIO_HAVE_ODIRECT
-#define FIO_HAVE_IOPRIO
#define FIO_HAVE_STRSEP
#define FIO_USE_GENERIC_RAND
#define FIO_HAVE_CHARDEV_SIZE
@@ -34,7 +33,7 @@ static inline int blockdev_size(struct fio_file *f, unsigned long long *bytes)
static inline int chardev_size(struct fio_file *f, unsigned long long *bytes)
{
- return blockdev_size(f->fd, bytes);
+ return blockdev_size(f, bytes);
}
static inline int blockdev_invalidate_cache(struct fio_file *f)