[CRIU] [PATCH 01/11] tty: Align members in assignments

Cyrill Gorcunov gorcunov at openvz.org
Mon Sep 29 09:25:27 PDT 2014


For readability sake.

Signed-off-by: Cyrill Gorcunov <gorcunov at openvz.org>
---
 tty.c | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/tty.c b/tty.c
index 6d351cde991e..b0d28681833e 100644
--- a/tty.c
+++ b/tty.c
@@ -945,11 +945,11 @@ static int collect_one_tty_info_entry(void *obj, ProtobufCMessage *msg)
 }
 
 struct collect_image_info tty_info_cinfo = {
-	.fd_type = CR_FD_TTY_INFO,
-	.pb_type = PB_TTY_INFO,
-	.priv_size = sizeof(struct tty_info_entry),
-	.collect = collect_one_tty_info_entry,
-	.flags = COLLECT_OPTIONAL,
+	.fd_type	= CR_FD_TTY_INFO,
+	.pb_type	= PB_TTY_INFO,
+	.priv_size	= sizeof(struct tty_info_entry),
+	.collect	= collect_one_tty_info_entry,
+	.flags		= COLLECT_OPTIONAL,
 };
 
 static int collect_one_tty(void *obj, ProtobufCMessage *msg)
@@ -990,11 +990,11 @@ static int collect_one_tty(void *obj, ProtobufCMessage *msg)
 }
 
 struct collect_image_info tty_cinfo = {
-	.fd_type = CR_FD_TTY_FILES,
-	.pb_type = PB_TTY_FILE,
-	.priv_size = sizeof(struct tty_info),
-	.collect = collect_one_tty,
-	.flags = COLLECT_OPTIONAL,
+	.fd_type	= CR_FD_TTY_FILES,
+	.pb_type	= PB_TTY_FILE,
+	.priv_size	= sizeof(struct tty_info),
+	.collect	= collect_one_tty,
+	.flags		= COLLECT_OPTIONAL,
 };
 
 /* Make sure the ttys we're dumping do belong our process tree */
-- 
1.9.3



More information about the CRIU mailing list