[CRIU] [PATCH] sockets: Print which socket family is unsupported

Cyrill Gorcunov gorcunov at openvz.org
Wed Feb 6 14:07:52 EST 2013


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



More information about the CRIU mailing list