summaryrefslogtreecommitdiff
path: root/sys/scsi/safte.c
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-11-22 15:34:30 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-11-22 15:34:30 +0000
commit742bdf07922bbf1e2b385279ded4cc8f809ece4f (patch)
tree021bb434c06f7c3f613be2e22bcd22efa0958e09 /sys/scsi/safte.c
parent2166ae12a3e809c2f5498b605f96ac477bd5f37f (diff)
Be consistent and always use CLR() to clear flags.
Diffstat (limited to 'sys/scsi/safte.c')
-rw-r--r--sys/scsi/safte.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/scsi/safte.c b/sys/scsi/safte.c
index 54cd18df2ef..2a77be9fde3 100644
--- a/sys/scsi/safte.c
+++ b/sys/scsi/safte.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: safte.c,v 1.58 2019/09/27 17:22:31 krw Exp $ */
+/* $OpenBSD: safte.c,v 1.59 2019/11/22 15:34:29 krw Exp $ */
/*
* Copyright (c) 2005 David Gwynne <dlg@openbsd.org>
@@ -449,7 +449,7 @@ safte_read_encstat(void *arg)
for (i = 0; i < sc->sc_nsensors; i++) {
s = &sc->sc_sensors[i];
- s->se_sensor.flags &= ~SENSOR_FUNKNOWN;
+ CLR(s->se_sensor.flags, SENSOR_FUNKNOWN);
DPRINTF(("%s: %d type: %d field: 0x%02x\n", DEVNAME(sc), i,
s->se_type, *s->se_field));