summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2009-02-13 23:16:23 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2009-02-13 23:16:23 +0000
commit317974af3cafc2bb6357243f7729e7de1e28cbed (patch)
tree290558b9da2c5c1333e219542cfbaff6fc23a9d1 /sys/dev/ic
parent703e5f825225483cbcb601282e863fab1690f4e2 (diff)
missing braces; ok marco
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/mpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/ic/mpi.c b/sys/dev/ic/mpi.c
index 1b53ae16148..5d9febf439c 100644
--- a/sys/dev/ic/mpi.c
+++ b/sys/dev/ic/mpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpi.c,v 1.107 2008/11/23 16:20:06 marco Exp $ */
+/* $OpenBSD: mpi.c,v 1.108 2009/02/13 23:16:22 sthen Exp $ */
/*
* Copyright (c) 2005, 2006 David Gwynne <dlg@openbsd.org>
@@ -2990,9 +2990,10 @@ mpi_refresh_sensors(void *arg)
}
/* override status if scrubbing or something */
- if (rpg0->volume_status & MPI_CFG_RAID_VOL_0_STATUS_RESYNCING)
+ if (rpg0->volume_status & MPI_CFG_RAID_VOL_0_STATUS_RESYNCING) {
sc->sc_sensors[vol].value = SENSOR_DRIVE_REBUILD;
sc->sc_sensors[vol].status = SENSOR_S_WARN;
+ }
vol++;
}