From 217fb5f2e040533e38c36569211242da328ca439 Mon Sep 17 00:00:00 2001 From: Jayanth Othayoth Date: Sat, 26 Aug 2017 01:45:31 -0500 Subject: Fix for missing core file in the dump Resolves openbmc/openbmc#2214 Change-Id: If01f2649335af6d2611c176eabf993796980ad2b Signed-off-by: Jayanth Othayoth --- dump_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dump_manager.cpp b/dump_manager.cpp index a189284..040c8cc 100644 --- a/dump_manager.cpp +++ b/dump_manager.cpp @@ -67,7 +67,7 @@ uint32_t Manager::captureDump( "-s", std::to_string(size).c_str(), "-q", "-v", - "-f", fullPaths.empty() ? "" : fullPaths.front(), + "-f", fullPaths.empty() ? "" : fullPaths.front().c_str(), "-t", tempType->second.c_str(), nullptr); -- cgit v1.2.1