diff options
author | Yifan Hong <elsk@google.com> | 2018-12-19 23:19:52 +0100 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-12-19 23:19:52 +0100 |
commit | 82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea (patch) | |
tree | 76db008013c3391d38836ec3b09fd8d5449e5cb9 /logging.cpp | |
parent | Merge "Add verification before downloading whole package" (diff) | |
parent | roots.cpp: convert to C++ Fstab (diff) | |
download | android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.tar android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.tar.gz android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.tar.bz2 android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.tar.lz android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.tar.xz android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.tar.zst android_bootable_recovery-82fc6ae5b8d118cfa5db0fa8a39625305af7f4ea.zip |
Diffstat (limited to 'logging.cpp')
-rw-r--r-- | logging.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/logging.cpp b/logging.cpp index 50642a26b..283d11507 100644 --- a/logging.cpp +++ b/logging.cpp @@ -46,7 +46,7 @@ static const std::string LAST_LOG_FILTER = "recovery/last_log"; // fopen(3)'s the given file, by mounting volumes and making parent dirs as necessary. Returns the // file pointer, or nullptr on error. static FILE* fopen_path(const std::string& path, const char* mode) { - if (ensure_path_mounted(path.c_str()) != 0) { + if (ensure_path_mounted(path) != 0) { LOG(ERROR) << "Can't mount " << path; return nullptr; } |