[CRIU] [PATCH 08/16] sk-unix: Unify @state print
Cyrill Gorcunov
gorcunov at openvz.org
Fri Dec 9 09:17:08 PST 2016
Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
criu/sk-unix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/criu/sk-unix.c b/criu/sk-unix.c
index ddc3c94588d4..9208f1015fa5 100644
--- a/criu/sk-unix.c
+++ b/criu/sk-unix.c
@@ -152,7 +152,7 @@ static void show_one_unix(char *act, const struct unix_sk_desc *sk)
static void show_one_unix_img(const char *act, const UnixSkEntry *e)
{
- pr_info("\t%s: id %#x ino %#x peer %#x type %d state %d name %d bytes\n",
+ pr_info("\t%s: id %#x ino %#x peer %#x type %d state %2d name %d bytes\n",
act, e->id, e->ino, e->peer, e->type, e->state, (int)e->name.len);
}
--
2.7.4
More information about the CRIU
mailing list