Skip to content

Commit b3b6141

Browse files
committed
[lldb] Fix two formatv issues in LDB_LOG (NFC)
1 parent a280275 commit b3b6141

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lldb/source/Plugins/TypeSystem/Clang/TypeSystemClang.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9702,7 +9702,7 @@ ScratchTypeSystemClang::GetForTarget(Target &target,
97029702
lldb::eLanguageTypeC, create_on_demand);
97039703
if (auto err = type_system_or_err.takeError()) {
97049704
LLDB_LOG_ERROR(GetLog(LLDBLog::Target), std::move(err),
9705-
"Couldn't get scratch TypeSystemClang");
9705+
"Couldn't get scratch TypeSystemClang: {0}");
97069706
return nullptr;
97079707
}
97089708
auto ts_sp = *type_system_or_err;

lldb/source/Target/Target.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3617,7 +3617,7 @@ void Target::FinalizeFileActions(ProcessLaunchInfo &info) {
36173617
if (info.GetFileActionForFD(STDERR_FILENO) == nullptr)
36183618
err_file_spec = GetStandardErrorPath();
36193619

3620-
LLDB_LOG(log, "target stdin='{0}', target stdout='{1}', stderr='{1}'",
3620+
LLDB_LOG(log, "target stdin='{0}', target stdout='{1}', stderr='{2}'",
36213621
in_file_spec, out_file_spec, err_file_spec);
36223622

36233623
if (in_file_spec) {

0 commit comments

Comments
 (0)