From ec36e34ff3ef69f58057cf1baecbf9b95629b41b Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Thu, 29 Oct 2015 04:09:00 +0300 Subject: [PATCH] can_dump_inet_sk(): fix error message In other similar cases we print option as it appears on the command line, i.e. --option, but not here. Fix it to make it more clear. Was: Error (sk-inet.c:141): Connected TCP socket, consider using tcp-established option. Now: Error (sk-inet.c:141): Connected TCP socket, consider using --tcp-established option. Signed-off-by: Kir Kolyshkin Signed-off-by: Pavel Emelyanov --- sk-inet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sk-inet.c b/sk-inet.c index fa41769cb..c06a0b2a2 100644 --- a/sk-inet.c +++ b/sk-inet.c @@ -154,7 +154,7 @@ static int can_dump_inet_sk(const struct inet_sk_desc *sk) break; case TCP_ESTABLISHED: if (!opts.tcp_established_ok) { - pr_err("Connected TCP socket, consider using %s option.\n", + pr_err("Connected TCP socket, consider using --%s option.\n", SK_EST_PARAM); return 0; }