summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-06-23 13:55:55 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-06-23 13:55:55 +0100
commit4381f36fdaf0cdd5e40004aadba5026f9e986a3b (patch)
tree5743b58e3955dbb074ef2638b4310d3047b49cdd
parentdf0342301396f743e24a8f36c7798b68e6cc292f (diff)
downloadrabbitmq-server-git-4381f36fdaf0cdd5e40004aadba5026f9e986a3b.tar.gz
Format as number, don't explicitly convert to string then format as string.
-rw-r--r--src/rabbit.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/rabbit.erl b/src/rabbit.erl
index fda1fbdc1d..6fe54f790b 100644
--- a/src/rabbit.erl
+++ b/src/rabbit.erl
@@ -828,9 +828,8 @@ warn_if_kernel_config_dubious() ->
AsyncThreads = erlang:system_info(thread_pool_size),
case AsyncThreads < ?ASYNC_THREADS_WARNING_THRESHOLD of
true -> error_logger:warning_msg(
- "Erlang VM is running with ~s I/O threads, "
- "file I/O performance may worsen ~n",
- [integer_to_list(AsyncThreads)]);
+ "Erlang VM is running with ~b I/O threads, "
+ "file I/O performance may worsen~n", [AsyncThreads]);
false -> ok
end,
IDCOpts = application:get_env(kernel, inet_default_connect_options, []),