Rename BMC Dump path BMC_DUMP_FILE_DIR to BMC_DUMP_PATH.

Change-Id: I85974e00c31f5179106674ececeb53072008a83d
Signed-off-by: Jayanth Othayoth <ojayanth@in.ibm.com>
diff --git a/configure.ac b/configure.ac
index 0807a82..7d93605 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,11 +59,9 @@
 AS_IF([test "x$OBJ_ENTRY" == "x"], [OBJ_ENTRY="/xyz/openbmc_project/dump/entry"])
 AC_DEFINE_UNQUOTED([OBJ_ENTRY], ["$OBJ_ENTRY"], [The dump entry DBus object path])
 
-# TODO openbmc/openbmc#1795
-# Change the path to Dump Partition path.
-AC_ARG_VAR(BMC_DUMP_FILE_DIR, [Directory where bmc dumps are placed])
-AS_IF([test "x$BMC_DUMP_FILE_DIR" == "x"], [BMC_DUMP_FILE_DIR="/tmp"])
-AC_DEFINE_UNQUOTED([BMC_DUMP_FILE_DIR], ["$BMC_DUMP_FILE_DIR"], [Directory where bmc dumps are placed])
+AC_ARG_VAR(BMC_DUMP_PATH, [Directory where bmc dumps are placed])
+AS_IF([test "x$BMC_DUMP_PATH" == "x"], [BMC_DUMP_PATH="/tmp/dumps"])
+AC_DEFINE_UNQUOTED([BMC_DUMP_PATH], ["$BMC_DUMP_PATH"], [Directory where bmc dumps are placed])
 
 AC_CONFIG_FILES([Makefile])
 AC_OUTPUT
diff --git a/dump_manager.hpp b/dump_manager.hpp
index 55947b2..4e6715b 100644
--- a/dump_manager.hpp
+++ b/dump_manager.hpp
@@ -66,7 +66,7 @@
                   IN_NONBLOCK,
                   IN_CLOSE_WRITE,
                   EPOLLIN,
-                  BMC_DUMP_FILE_DIR,
+                  BMC_DUMP_PATH,
                   std::bind(
                        std::mem_fn(
                             &phosphor::dump::Manager::watchCallback),