From 0fcc3b4da723ade40a299f6137e923dae2ece5f2 Mon Sep 17 00:00:00 2001 From: Dean Lee Date: Fri, 10 Mar 2023 05:13:29 +0800 Subject: [PATCH] replay: fix incorrect format string in seekTo (#27547) old-commit-hash: 9b28897f09112ec1dc28d7196964588989029940 --- tools/replay/replay.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/replay/replay.cc b/tools/replay/replay.cc index 178b116a87..b68330f688 100644 --- a/tools/replay/replay.cc +++ b/tools/replay/replay.cc @@ -193,7 +193,7 @@ std::optional Replay::find(FindFlag flag) { void Replay::pause(bool pause) { updateEvents([=]() { - rWarning("%s at %d s", pause ? "paused..." : "resuming", currentSeconds()); + rWarning("%s at %.2f s", pause ? "paused..." : "resuming", currentSeconds()); paused_ = pause; return true; });