Commit f682ba81 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

sockets: Print which socket family is unsupported

It's good to know which family we've met.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 7a74043c
...@@ -383,7 +383,7 @@ int dump_socket(struct fd_parms *p, int lfd, const int fdinfo) ...@@ -383,7 +383,7 @@ int dump_socket(struct fd_parms *p, int lfd, const int fdinfo)
case AF_PACKET: case AF_PACKET:
return dump_one_packet_sk(p, lfd, fdinfo); return dump_one_packet_sk(p, lfd, fdinfo);
default: default:
pr_err("BUG! Unknown socket collected\n"); pr_err("BUG! Unknown socket collected (family %d)\n", family);
break; break;
} }
......
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