[PATCH ipmi-fru-parser v7 4/9] Format string change in sd_bus_message_append.
OpenBMC Patches
patches at stwcx.xyz
Fri Oct 30 08:09:14 AEDT 2015
From: Hariharasubramanian R <hramasub at in.ibm.com>
---
frup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/frup.c b/frup.c
index 9711645..ab58426 100644
--- a/frup.c
+++ b/frup.c
@@ -803,13 +803,13 @@ parse_fru (const void* msgbuf, sd_bus_message* vpdtbl)
{
if (i==OPENBMC_VPD_KEY_CHASSIS_TYPE)
{
- sd_bus_message_append (vpdtbl, "sd", vpd_key_names[i], chassis_type);
+ sd_bus_message_append (vpdtbl, "sy", vpd_key_names[i], chassis_type);
continue;
}
if (i==OPENBMC_VPD_KEY_BOARD_MFG_DATE)
{
- sd_bus_message_append (vpdtbl, "sd", vpd_key_names[i], mfg_date_time);
+ sd_bus_message_append (vpdtbl, "sa{y}", vpd_key_names[i], mfg_date_time);
continue;
}
--
2.6.0
More information about the openbmc
mailing list