Skip to content

Commit 4c92409

Browse files
committed
Fix formatting of warning messages
1 parent 040e26d commit 4c92409

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/basho_bench_stats.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,9 @@ handle_cast({Op, {ok, Units}, ElapsedUs}, State = #state{last_write_time = LWT,
153153
TimeSinceLastWarn = timer:now_diff(os:timestamp(), State#state.last_warn) / 1000,
154154
if
155155
TimeSinceLastReport > (RI * 2) andalso TimeSinceLastWarn > ?WARN_INTERVAL ->
156-
?WARN("basho_bench_stats has not reported in ~.2f milliseconds", [TimeSinceLastReport]),
156+
?WARN("basho_bench_stats has not reported in ~.2f milliseconds\n", [TimeSinceLastReport]),
157157
{message_queue_len, QLen} = process_info(self(), message_queue_len),
158-
?WARN("stats process mailbox size = ~w", [QLen]),
158+
?WARN("stats process mailbox size = ~w\n", [QLen]),
159159
NewState = State#state{last_warn = os:timestamp()};
160160
true ->
161161
NewState = State

0 commit comments

Comments
 (0)