summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_direct.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_direct.erl b/src/rabbit_direct.erl
index 60ff3908b5..4d181c234c 100644
--- a/src/rabbit_direct.erl
+++ b/src/rabbit_direct.erl
@@ -220,8 +220,8 @@ start_channel(Number, ClientChannelPid, ConnPid, ConnName, Protocol,
{true, Limit} ->
rabbit_log_connection:error(
"Error on Direct connection ~p~n"
- "number of channels opened for user (~w) has reached the "
- "maximum allowed limit of (~w)",
+ "number of channels opened for user (~s) has reached the "
+ "maximum allowed limit of (~p)",
[ConnPid, Username, Limit]),
{error, not_allowed}
end.