From 742bdf07922bbf1e2b385279ded4cc8f809ece4f Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Fri, 22 Nov 2019 15:34:30 +0000 Subject: Be consistent and always use CLR() to clear flags. --- sys/scsi/safte.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sys/scsi/safte.c') 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 @@ -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)); -- cgit v1.2.3