[CRIU] [PATCH] sockets: Print which socket family is unsupported
Pavel Emelyanov
xemul at parallels.com
Wed Feb 6 15:25:16 EST 2013
On 02/06/2013 11:07 PM, Cyrill Gorcunov wrote:
> It's good to know which family we've met.
>
> Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
> ---
> sockets.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/sockets.c b/sockets.c
> index c25cae8..4561135 100644
> --- a/sockets.c
> +++ b/sockets.c
> @@ -383,7 +383,7 @@ int dump_socket(struct fd_parms *p, int lfd, const int fdinfo)
> case AF_PACKET:
> return dump_one_packet_sk(p, lfd, fdinfo);
> default:
> - pr_err("BUG! Unknown socket collected\n");
> + pr_err("BUG! Unknown socket collected (family %d)\n", family);
> break;
> }
>
>
Applied
More information about the CRIU
mailing list