summaryrefslogtreecommitdiffstats
path: root/net/dccp/proto.c
diff options
context:
space:
mode:
authorGerrit Renker <gerrit@erg.abdn.ac.uk>2010-10-11 20:44:42 +0200
committerGerrit Renker <gerrit@erg.abdn.ac.uk>2010-10-12 06:57:43 +0200
commit2f34b32977ade4249601f35f7eb0cdd56b4e0f89 (patch)
treecacdef9003d861cc0b3d5feaf3080ea5cad11ed7 /net/dccp/proto.c
parentecdfbdabbe4e0cf0443cbbea2df1bf51bf67f3f3 (diff)
downloadop-kernel-dev-2f34b32977ade4249601f35f7eb0cdd56b4e0f89.zip
op-kernel-dev-2f34b32977ade4249601f35f7eb0cdd56b4e0f89.tar.gz
dccp: cosmetics - warning format
This omits the redundant "DCCP:" in warning messages, since DCCP_WARN() already echoes the function name, avoiding messages like kernel: [10988.766503] dccp_close: DCCP: ABORT -- 209 bytes unread Signed-off-by: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Diffstat (limited to 'net/dccp/proto.c')
-rw-r--r--net/dccp/proto.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/proto.c b/net/dccp/proto.c
index b054ba1..7e5fc04 100644
--- a/net/dccp/proto.c
+++ b/net/dccp/proto.c
@@ -944,7 +944,7 @@ void dccp_close(struct sock *sk, long timeout)
if (data_was_unread) {
/* Unread data was tossed, send an appropriate Reset Code */
- DCCP_WARN("DCCP: ABORT -- %u bytes unread\n", data_was_unread);
+ DCCP_WARN("ABORT with %u bytes unread\n", data_was_unread);
dccp_send_reset(sk, DCCP_RESET_CODE_ABORTED);
dccp_set_state(sk, DCCP_CLOSED);
} else if (sock_flag(sk, SOCK_LINGER) && !sk->sk_lingertime) {
OpenPOWER on IntegriCloud