From 89b208d27a6c4164f4b29ae3f62a7742a56f7b7c Mon Sep 17 00:00:00 2001 From: Bingyi Sun Date: Wed, 20 Dec 2023 09:30:44 +0800 Subject: [PATCH] enhance: Fix format message (#29159) Signed-off-by: sunby --- internal/core/src/storage/Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/core/src/storage/Util.cpp b/internal/core/src/storage/Util.cpp index 59b3c014ef..28c7d2a57f 100644 --- a/internal/core/src/storage/Util.cpp +++ b/internal/core/src/storage/Util.cpp @@ -469,7 +469,7 @@ EncodeAndUploadIndexSlice2(std::shared_ptr space, auto status = space->WriteBolb( object_key, serialized_index_data.data(), serialized_index_size); AssertInfo(status.ok(), - fmt::format("write to space error: %s", status.ToString())); + fmt::format("write to space error: {}", status.ToString())); return std::make_pair(std::move(object_key), serialized_index_size); }