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>();
     }