summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amr_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/amr/amr_compat.h')
-rw-r--r--sys/dev/amr/amr_compat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/amr/amr_compat.h b/sys/dev/amr/amr_compat.h
index c85b309..50ea804 100644
--- a/sys/dev/amr/amr_compat.h
+++ b/sys/dev/amr/amr_compat.h
@@ -53,7 +53,7 @@
# define bio_resid b_resid
# define BIO_ERROR B_ERROR
# define devstat_end_transaction_bio(x, y) devstat_end_transaction_buf(x, y)
-# define BIO_IS_READ(x) ((x)-b_flags & B_READ)
+# define BIO_IS_READ(x) ((x)->b_flags & B_READ)
#else
# include <sys/bio.h>
OpenPOWER on IntegriCloud