From 7a8f30afc07e1eadb35c25f3fd6d9e0ad8c9f6d5 Mon Sep 17 00:00:00 2001 From: Michal Kobylinski Date: Fri, 23 Aug 2019 14:53:32 +0000 Subject: [PATCH] fixed code format --- src/redfish.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/redfish.c b/src/redfish.c index 98c1c2194..d9991e375 100644 --- a/src/redfish.c +++ b/src/redfish.c @@ -767,7 +767,7 @@ static void redfish_process_payload_property(const redfish_property_t *prop, /* Default TypeInstance is MemberId */ char type_inst[40] = "MemberId"; if (prop->type_inst != NULL) - sstrncpy(type_inst, prop->type_inst, sizeof(type_inst)); + sstrncpy(type_inst, prop->type_inst, sizeof(type_inst)); /* Retrieving sensor ID and setting TypeInstance */ json_t *sensor_id = json_object_get(item, prop->type_inst); -- 2.47.2