2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 22:35:33 +00:00

sockets: Show backlog length in "show" procedure

Signed-off-by: Cyrill Gorcunov <gorcunov@openvz.org>
This commit is contained in:
Cyrill Gorcunov
2012-01-10 12:14:43 +04:00
parent 196ce521a8
commit 1a1979cc88

View File

@@ -693,8 +693,8 @@ void show_unixsk(char *name, int fd, bool show_header)
if (!ret)
goto out;
pr_info("fd %4d type %2d state %2d namelen %4d id %6d peer %6d",
ue.fd, ue.type, ue.state, ue.namelen, ue.id, ue.peer);
pr_info("fd %4d type %2d state %2d namelen %4d backlog %4d id %6d peer %6d",
ue.fd, ue.type, ue.state, ue.namelen, ue.namelen, ue.id, ue.peer);
if (ue.namelen) {
ret = read_safe_eof(fd, buf, ue.namelen, out);