sensorhanlder: Struct properties use camelCase
Change-Id: Ib76451f5b967ad342875bf000e8ce20599d35a1e
Signed-off-by: George Liu <liuxiwei@ieisystem.com>
diff --git a/dbus-sdr/storagecommands.cpp b/dbus-sdr/storagecommands.cpp
index 84a4449..434e220 100644
--- a/dbus-sdr/storagecommands.cpp
+++ b/dbus-sdr/storagecommands.cpp
@@ -710,9 +710,9 @@
size_t sizeDiff = maxFruSdrNameSize - name.size();
resp.header.recordId = 0x0; // calling code is to implement these
- resp.header.sdr_version = ipmiSdrVersion;
- resp.header.record_type = get_sdr::SENSOR_DATA_FRU_RECORD;
- resp.header.record_length = sizeof(resp.body) + sizeof(resp.key) - sizeDiff;
+ resp.header.sdrVersion = ipmiSdrVersion;
+ resp.header.recordType = get_sdr::SENSOR_DATA_FRU_RECORD;
+ resp.header.recordLength = sizeof(resp.body) + sizeof(resp.key) - sizeDiff;
resp.key.deviceAddress = 0x20;
resp.key.fruID = device->first;
resp.key.accessLun = 0x80; // logical / physical fru device
@@ -1200,9 +1200,9 @@
/* Header */
// Based on IPMI Spec v2.0 rev 1.1
data.header.recordId = recordId;
- data.header.sdr_version = SDR_VERSION;
- data.header.record_type = 0x08;
- data.header.record_length = sizeof(data.key) + sizeof(data.body);
+ data.header.sdrVersion = SDR_VERSION;
+ data.header.recordType = 0x08;
+ data.header.recordLength = sizeof(data.key) + sizeof(data.body);
/* Key */
data.key.containerEntityId = entity->second.containerEntityId;