summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Mustacchi <rm@fingolfin.org>2020-08-29 07:38:55 -0700
committerRobert Mustacchi <rm@fingolfin.org>2020-08-30 12:10:53 -0700
commitab26215b1a80ead55969e925a597044ad4185a34 (patch)
treeee254acd239ea1190c5837b8d943139775841799
parent007ca33219ffdc49281657f5f8a9ee1bbfc367ab (diff)
downloadillumos-joyent-ab26215b1a80ead55969e925a597044ad4185a34.tar.gz
12637 ses_facility.c topo methods are not properly terminated
Reviewed by: John Levon <levon@movementarian.org> Approved by: Richard Lowe <richlowe@richlowe.net>
-rw-r--r--usr/src/lib/fm/topo/modules/common/ses/ses_facility.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/usr/src/lib/fm/topo/modules/common/ses/ses_facility.c b/usr/src/lib/fm/topo/modules/common/ses/ses_facility.c
index 2c4a1314e3..faef123480 100644
--- a/usr/src/lib/fm/topo/modules/common/ses/ses_facility.c
+++ b/usr/src/lib/fm/topo/modules/common/ses/ses_facility.c
@@ -113,7 +113,8 @@ typedef struct ses_sensor_desc {
static const topo_method_t ses_indicator_methods[] = {
{ "ses_indicator_mode", TOPO_PROP_METH_DESC,
TOPO_METH_SES_MODE_VERSION, TOPO_STABILITY_INTERNAL,
- ses_indicator_mode }
+ ses_indicator_mode },
+ { NULL }
};
static const topo_method_t ses_sensor_methods[] = {
@@ -126,6 +127,7 @@ static const topo_method_t ses_sensor_methods[] = {
{ "ses_psu_state", TOPO_PROP_METH_DESC,
TOPO_METH_SES_PSU_VERSION, TOPO_STABILITY_INTERNAL,
ses_psu_state },
+ { NULL }
};
/*