aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <android-test-infra-autosubmit@system.gserviceaccount.com>2023-12-21 00:25:33 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-12-21 00:25:33 +0000
commitee4418fc181968331d8c6df403650914fb4f8d29 (patch)
treef9ec025287d968d19c73055591b274e454a1f71e
parent8b9bad0ab0c5aeab0fe37a97679606237c3c9d38 (diff)
parentdd0a28dc5b5fb2cdd13d4a78f25ef494b6868222 (diff)
downloadcuttlefish-ee4418fc181968331d8c6df403650914fb4f8d29.tar.gz
Merge "Don't fmt::format thread ids" into main
-rw-r--r--host/commands/cvd/interruptible_terminal.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/host/commands/cvd/interruptible_terminal.cpp b/host/commands/cvd/interruptible_terminal.cpp
index 3ffaf9678..8795eb764 100644
--- a/host/commands/cvd/interruptible_terminal.cpp
+++ b/host/commands/cvd/interruptible_terminal.cpp
@@ -44,9 +44,9 @@ Result<std::string> InterruptibleTerminal::ReadLine() {
{
std::lock_guard lock(terminal_mutex_);
CF_EXPECT(interrupted_ == false, "Interrupted");
- CF_EXPECTF(owner_tid_ == std::nullopt,
- "This InterruptibleTerminal is already owned by {}",
- owner_tid_.value());
+ CF_EXPECT(owner_tid_ == std::nullopt,
+ "This InterruptibleTerminal is already owned by "
+ << owner_tid_.value());
CF_EXPECT(stdin_fd_->IsOpen(),
"The copy of client stdin fd has been already closed.");
owner_tid_ = std::this_thread::get_id();