From 6466e61c75a8966b04f557460521390a128a144d Mon Sep 17 00:00:00 2001 From: yiguolei <676222867@qq.com> Date: Wed, 18 Sep 2024 17:54:59 +0800 Subject: [PATCH] [bugfix](core) fmt lost one parameter (#40914) ## Proposed changes bug is introduced by https://github.com/apache/doris/pull/40542 --------- Co-authored-by: yiguolei --- be/src/runtime/memory/mem_tracker.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/be/src/runtime/memory/mem_tracker.h b/be/src/runtime/memory/mem_tracker.h index 9ea11fa86968ad..82b05fe544afc8 100644 --- a/be/src/runtime/memory/mem_tracker.h +++ b/be/src/runtime/memory/mem_tracker.h @@ -45,7 +45,7 @@ class MemTracker final { const std::string& label() const { return _label; } std::string log_usage() const { - return fmt::format("MemTracker Lame={}, Used={}({} B), Peak={}({} B)", + return fmt::format("MemTracker name={}, Used={}({} B), Peak={}({} B)", _label, MemCounter::print_bytes(consumption()), consumption(), MemCounter::print_bytes(peak_consumption()), peak_consumption()); }