summaryrefslogtreecommitdiffstats
path: root/phosphor-logging
diff options
context:
space:
mode:
authorMarri Devender Rao <devenrao@in.ibm.com>2017-05-24 11:08:29 -0500
committerPatrick Williams <patrick@stwcx.xyz>2017-06-03 13:07:31 +0000
commit4f0486dde093201efde4c42f27fce22b8c39020f (patch)
tree483cfc49e5f71768b4644b9263dd9dfb0664a530 /phosphor-logging
parent99b33918fa65c3b46987543bcddec76d97beabcc (diff)
downloadphosphor-logging-4f0486dde093201efde4c42f27fce22b8c39020f.tar.gz
phosphor-logging-4f0486dde093201efde4c42f27fce22b8c39020f.zip
Use sdbusplus errName instead of phosphor errName in commit
Change-Id: I2e5e1add72ee4fa29ecb8e858b101bbd648aeeec Signed-off-by: Marri Devender Rao <devenrao@in.ibm.com>
Diffstat (limited to 'phosphor-logging')
-rw-r--r--phosphor-logging/elog.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/phosphor-logging/elog.hpp b/phosphor-logging/elog.hpp
index 041303e..8a6b9c1 100644
--- a/phosphor-logging/elog.hpp
+++ b/phosphor-logging/elog.hpp
@@ -112,7 +112,7 @@ void commit()
std::is_base_of<sdbusplus::exception::exception, T>::value,
"T must be a descendant of sdbusplus::exception::exception"
);
- details::commit(details::map_exception_type_t<T>::errName);
+ details::commit(T::errName);
}
OpenPOWER on IntegriCloud