diff options
author | Yifan Hong <elsk@google.com> | 2018-12-20 00:26:20 +0100 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-20 00:26:20 +0100 |
commit | 26fee0f796c45c37fc88bfb442ef2817f760a1c8 (patch) | |
tree | e4a0f497cf05e1fbf39fd8970f8a7708545a4637 /logging.cpp | |
parent | Move parts of roots.cpp to libfs_mgr am: 0f339e27bb am: 6e232ed3ce (diff) | |
parent | Merge changes from topic "vintf_object_recovery_mount" am: 82fc6ae5b8 (diff) | |
download | android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.gz android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.bz2 android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.lz android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.xz android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.tar.zst android_bootable_recovery-26fee0f796c45c37fc88bfb442ef2817f760a1c8.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; } |