Fix a typo missed in r334232

This commit is contained in:
Justin Hibbits 2018-05-26 04:24:25 +00:00
parent 70183daa80
commit 9ae8a6d3d1

View File

@ -211,7 +211,7 @@ opal_sensor_attach(device_t dev)
sc->sc_handle = sensor_id;
SYSCTL_ADD_PROC(ctx, SYSCTL_CHILDREN(tree), OID_AUTO,
"sensor", CTLTYPE_INT | CTLFLAG_RD, sc, sensor_id,
opal_sensor_sysctl, (sc->sc_type == OPAL_MSG_TYPE_MAX) ? "IK" : "I",
opal_sensor_sysctl, (sc->sc_type == OPAL_SENSOR_TEMP) ? "IK" : "I",
"current value");
SYSCTL_ADD_STRING(ctx, SYSCTL_CHILDREN(tree), OID_AUTO, "type",