commit | 53530265730e4be45a9c30d41733e70fdf4fa8e8 | [log] [tgz] |
---|---|---|
author | Joseph Reynolds <jrey@us.ibm.com> | Thu May 17 13:45:13 2018 -0500 |
committer | Joseph Reynolds <jrey@us.ibm.com> | Thu May 17 13:45:13 2018 -0500 |
tree | 99075735297800f0f156113ce966b75d35837fce | |
parent | 9bea4eaf16539ccab0927ba976a7f15ff9bd253c [diff] |
Use s.c_str() in log messages Partly Resolves openbmc/openbmc 2905 Tested: static_assert only Change-Id: I9a97938e62ba4c285ef1f4fae36012e26f2e5170 Signed-off-by: Joseph Reynolds <jrey@us.ibm.com>
diff --git a/policy_find.cpp b/policy_find.cpp index b8b671a..7833cfa 100644 --- a/policy_find.cpp +++ b/policy_find.cpp
@@ -158,7 +158,7 @@ { using namespace phosphor::logging; log<level::ERR>("Invalid PROCEDURE value found", - entry("PROCEDURE=%s", *mod)); + entry("PROCEDURE=%s", mod->c_str())); } }