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 b5f068cbee..c6922f495c 100644
--- a/src/rabbit_direct.erl
+++ b/src/rabbit_direct.erl
@@ -222,8 +222,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.