summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_devstat.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/subr_devstat.c')
-rw-r--r--sys/kern/subr_devstat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 699ec3e..e71eef4 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -222,7 +222,7 @@ devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
/*
* Keep a count of the various tag types sent.
*/
- if ((ds->flags & DEVSTAT_NO_ORDERED_TAGS == 0) &&
+ if ((ds->flags & DEVSTAT_NO_ORDERED_TAGS) == 0 &&
tag_type != DEVSTAT_TAG_NONE)
ds->tag_types[tag_type]++;
OpenPOWER on IntegriCloud