Added zip location on log message.
BUG: 27660862
Change-Id: I6e9dc816955762fde0d4ddb9ac4cbf12b607cbbd
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp
index c93d0e5..f0fb856 100644
--- a/cmds/dumpstate/dumpstate.cpp
+++ b/cmds/dumpstate/dumpstate.cpp
@@ -1168,8 +1168,8 @@
log_path.c_str(), tmp_path.c_str(), screenshot_path.c_str());
if (do_zip_file) {
- MYLOGD("Creating initial .zip file\n");
path = bugreport_dir + "/" + base_name + "-" + suffix + ".zip";
+ MYLOGD("Creating initial .zip file (%s)\n", path.c_str());
create_parent_dirs(path.c_str());
zip_file.reset(fopen(path.c_str(), "wb"));
if (!zip_file) {