commit | 7475b1c151320ae54eed799f827f6a09d3376928 | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Tue Feb 27 14:04:58 2018 -0600 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue Feb 27 14:04:58 2018 -0600 |
tree | ee4f9d150c5c5a3537c95be1f425f0d3f9a60ab9 | |
parent | 0e45ced1a8977f3ad29959efbf7bcf5415637645 [diff] [blame] |
Error metadata fixup Pass a char* to the metadata, not a std::string. Change-Id: I72b11d7028a2c425c6b0659c355f1220a4a37bd7 Signed-off-by: Matt Spinler <spinler@us.ibm.com>
diff --git a/gpio.cpp b/gpio.cpp index 855718f..076dee4 100644 --- a/gpio.cpp +++ b/gpio.cpp
@@ -86,7 +86,7 @@ { auto e = errno; log<level::ERR>("Failed opening GPIO device", - entry("DEVICE=%s", device), + entry("DEVICE=%s", device.c_str()), entry("ERRNO=%d", e)); elog<InternalFailure>(); }