storagecommands: magic number for record_type
Signed-off-by: Patrick Venture <venture@google.com>
Change-Id: Iee54333d804333de82ad47c8077b414baee53f4c
diff --git a/src/storagecommands.cpp b/src/storagecommands.cpp
index 2c96297..d183b59 100644
--- a/src/storagecommands.cpp
+++ b/src/storagecommands.cpp
@@ -522,7 +522,7 @@
resp.header.record_id_lsb = 0x0; // calling code is to implement these
resp.header.record_id_msb = 0x0;
resp.header.sdr_version = ipmiSdrVersion;
- resp.header.record_type = 0x11; // FRU Device Locator
+ resp.header.record_type = get_sdr::SENSOR_DATA_FRU_RECORD;
resp.header.record_length = sizeof(resp.body) + sizeof(resp.key) - sizeDiff;
resp.key.deviceAddress = 0x20;
resp.key.fruID = device->first;