From dd42deb0b7f88815204ae89d86735a5b7b03a060 Mon Sep 17 00:00:00 2001 From: Ken Chiang Date: Mon, 13 Mar 2017 17:38:05 -0700 Subject: [PATCH] If the thermal sensor is missing, call onlp_oid_show_state_missing(). (#176) trivial change, matches with other uses of the call. --- packages/base/any/onlp/src/onlp/module/src/thermal.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/base/any/onlp/src/onlp/module/src/thermal.c b/packages/base/any/onlp/src/onlp/module/src/thermal.c index 316f1280..c3511b2e 100644 --- a/packages/base/any/onlp/src/onlp/module/src/thermal.c +++ b/packages/base/any/onlp/src/onlp/module/src/thermal.c @@ -257,7 +257,7 @@ onlp_thermal_show(onlp_oid_t id, aim_pvs_t* pvs, uint32_t flags) } else { /* Not present */ - iof_iprintf(&iof, "State: Missing."); + onlp_oid_show_state_missing(&iof); } } iof_pop(&iof);