Use s.c_str() in log messages
Use s.c_str() in log messages

Resolves openbmc/openbmc#2905

Tested: static_assert only

Change-Id: Ib39ca78a6edd415263c75175190da3b3ee7ab183
Signed-off-by: Joseph Reynolds <246505c32a29ce2fea61422e228781bf77138944@us.ibm.com>

openbmc/phosphor-inventory-manager,openbmc/phosphor-inventory-manager