2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-29 21:38:16 +00:00

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 <kir@openvz.org>
Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Kir Kolyshkin 2015-10-29 04:09:00 +03:00 committed by Pavel Emelyanov
parent a22afaa179
commit ec36e34ff3

View File

@ -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;
}