mirror of
https://github.com/checkpoint-restore/criu
synced 2025-08-30 13:58:34 +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:
committed by
Pavel Emelyanov
parent
a22afaa179
commit
ec36e34ff3
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user