summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpt/mpt_raid.c
diff options
context:
space:
mode:
authormdf <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
committermdf <mdf@FreeBSD.org>2011-01-12 19:53:56 +0000
commit8045b08e4df0219c258a95afc6a654c8ba4f3494 (patch)
tree8a1b3ef398eb3f730dd98cd8346c8e47be7d3821 /sys/dev/mpt/mpt_raid.c
parent5e41205b166387321bf83101cb158e537c71dc58 (diff)
downloadFreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.zip
FreeBSD-src-8045b08e4df0219c258a95afc6a654c8ba4f3494.tar.gz
sysctl(9) cleanup checkpoint: amd64 GENERIC builds cleanly.
Commit the rest of the devices.
Diffstat (limited to 'sys/dev/mpt/mpt_raid.c')
-rw-r--r--sys/dev/mpt/mpt_raid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mpt/mpt_raid.c b/sys/dev/mpt/mpt_raid.c
index d6e91ce..11650ed 100644
--- a/sys/dev/mpt/mpt_raid.c
+++ b/sys/dev/mpt/mpt_raid.c
@@ -1824,7 +1824,7 @@ mpt_raid_sysctl_attach(struct mpt_softc *mpt)
"vol_resync_rate", CTLTYPE_INT | CTLFLAG_RW, mpt, 0,
mpt_raid_sysctl_vol_resync_rate, "I",
"volume resync priority (0 == NC, 1 - 255)");
- SYSCTL_ADD_INT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
+ SYSCTL_ADD_UINT(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
"nonoptimal_volumes", CTLFLAG_RD,
&mpt->raid_nonopt_volumes, 0,
"number of nonoptimal volumes");
OpenPOWER on IntegriCloud