From a6d2e02cafe4a7016f601dcc2ea9bd514da5bc45 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sat, 24 Aug 2019 02:13:56 +0000 Subject: KNF tweak. --- 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 563a3880bd2..c739be4823e 100644 --- a/sys/scsi/safte.c +++ b/sys/scsi/safte.c @@ -1,4 +1,4 @@ -/* $OpenBSD: safte.c,v 1.53 2015/08/23 01:55:39 tedu Exp $ */ +/* $OpenBSD: safte.c,v 1.54 2019/08/24 02:13:55 krw Exp $ */ /* * Copyright (c) 2005 David Gwynne @@ -320,7 +320,7 @@ safte_read_config(struct safte_softc *sc) } sc->sc_nsensors = config->nfans + config->npwrsup + config->ntemps + - (config->doorlock ? 1 : 0) + (config->alarm ? 1 : 0); + (config->doorlock ? 1 : 0) + (config->alarm ? 1 : 0); sc->sc_sensors = mallocarray(sc->sc_nsensors, sizeof(struct safte_sensor), M_DEVBUF, M_NOWAIT | M_ZERO); -- cgit v1.2.3