Commit ec36e34f authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

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: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent a22afaa1
...@@ -154,7 +154,7 @@ static int can_dump_inet_sk(const struct inet_sk_desc *sk) ...@@ -154,7 +154,7 @@ static int can_dump_inet_sk(const struct inet_sk_desc *sk)
break; break;
case TCP_ESTABLISHED: case TCP_ESTABLISHED:
if (!opts.tcp_established_ok) { 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); SK_EST_PARAM);
return 0; return 0;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment