Use dreport -p option to input optional path
dreport changed optional path option to -P.
Change-Id: I73a3ab624800a18184f75f86e6e958763d870b63
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/dump_manager.cpp b/dump_manager.cpp
index 040c8cc..bf2e0a2 100644
--- a/dump_manager.cpp
+++ b/dump_manager.cpp
@@ -67,7 +67,7 @@
"-s", std::to_string(size).c_str(),
"-q",
"-v",
- "-f", fullPaths.empty() ? "" : fullPaths.front().c_str(),
+ "-p", fullPaths.empty() ? "" : fullPaths.front().c_str(),
"-t", tempType->second.c_str(),
nullptr);