bugfix: sensor data full record returning wrong length

The record length does not include the header per the IPMI spec.

Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Ie12cf6aa418483ade838a66721b3317060ef3909
diff --git a/sensorhandler.cpp b/sensorhandler.cpp
index 775f651..3699871 100644
--- a/sensorhandler.cpp
+++ b/sensorhandler.cpp
@@ -947,7 +947,7 @@
     get_sdr::header::set_record_id(sensor_id, &(record.header));
     record.header.sdr_version = 0x51; // Based on IPMI Spec v2.0 rev 1.1
     record.header.record_type = get_sdr::SENSOR_DATA_FULL_RECORD;
-    record.header.record_length = sizeof(get_sdr::SensorDataFullRecord);
+    record.header.record_length = sizeof(record.key) + sizeof(record.body);
 
     /* Key */
     get_sdr::key::set_owner_id_bmc(&(record.key));