aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMike Smith <msmith@FreeBSD.org>2000-10-27 23:40:45 +0000
committerMike Smith <msmith@FreeBSD.org>2000-10-27 23:40:45 +0000
commit6dc6d3bb7c0a263abab310ef1e4aa64a273a6c29 (patch)
treeb8d81b867f77ad120edb5e9b15c702f0217b1ea5 /sys
parentd16b567379f75d1f6e8f9b2d1de379b8923892d6 (diff)
Notes
Diffstat (limited to 'sys')
-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 c85b309b50ee..50ea8047c630 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>