summaryrefslogtreecommitdiffstats
path: root/logging.cpp
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-12-23 05:05:33 +0100
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-12-23 05:05:33 +0100
commit62227b544593de0dc079012f7436e24241065bd9 (patch)
treee6e5f3752c7618eab6de1a3f85f3a709c6fd2e95 /logging.cpp
parentSnap for 5189750 from faf656f3a798495dafe9c60ec219835b7f78cf8b to qt-release (diff)
parentMerge "Add a horizontal line at the end of the graphic menu" am: fc0665c701 am: 095b6858dd (diff)
downloadandroid_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.gz
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.bz2
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.lz
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.xz
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.tar.zst
android_bootable_recovery-62227b544593de0dc079012f7436e24241065bd9.zip
Diffstat (limited to 'logging.cpp')
-rw-r--r--logging.cpp2
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;
}