[CRIU] [PATCH 5/5] protobuf: replace rectangular bracket by curly
one for nested messages show
Kinsbursky Stanislav
skinsbursky at openvz.org
Tue Jul 24 09:59:32 EDT 2012
Signed-off-by: Stanislav Kinsbursky <skinsbursky at openvz.org>
---
protobuf.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/protobuf.c b/protobuf.c
index fc1d6b4..279b487 100644
--- a/protobuf.c
+++ b/protobuf.c
@@ -64,7 +64,7 @@ static void print_nested_message_braces(pb_pr_ctl_t *ctl, int right_brace)
{
if (right_brace)
print_tabs(ctl);
- pr_msg("%s%s", (right_brace) ? "]" : "[", (ctl->single_entry) ? "\n" : " ");
+ pr_msg("%s%s", (right_brace) ? "}" : "{", (ctl->single_entry) ? "\n" : " ");
}
static void pb_show_msg(const void *msg, pb_pr_ctl_t *ctl);
More information about the CRIU
mailing list