Displaying 1 result from an estimated 1 matches for "parse_pool".
Did you mean:
parser_pool
2012 Nov 01
4
[PATCH] xen-tmem-list-parse: fix ugly parse output
...sc/xen-tmem-list-parse.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/tools/misc/xen-tmem-list-parse.c b/tools/misc/xen-tmem-list-parse.c
index 977e4d3..f32b107 100644
--- a/tools/misc/xen-tmem-list-parse.c
+++ b/tools/misc/xen-tmem-list-parse.c
@@ -243,6 +243,7 @@ void parse_pool(char *s)
unsigned long long flush_objs = parse(s,"ot");
parse_string(s,"PT",pool_type,2);
+ pool_type[2] = ''\0'';
if (pool_type[1] == ''S'')
return; /* no need to repeat print data for shared pools */
printf(&quo...