summaryrefslogtreecommitdiffstats
path: root/sys/dev/amr/amr_compat.h
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>2000-10-27 23:40:45 +0000
committermsmith <msmith@FreeBSD.org>2000-10-27 23:40:45 +0000
commit25d887ad27679a4a31fb09900f2b17417b939812 (patch)
treed3f3c1be35bc879d35a6457e008b394c3ffd9b1c /sys/dev/amr/amr_compat.h
parent53904fdeb63066a31df74bc31abc03c2ae044596 (diff)
downloadFreeBSD-src-25d887ad27679a4a31fb09900f2b17417b939812.zip
FreeBSD-src-25d887ad27679a4a31fb09900f2b17417b939812.tar.gz
Fix typo in the 4.x case.
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