From: compudj Date: Thu, 1 Dec 2005 21:46:43 +0000 (+0000) Subject: code fix X-Git-Tag: v0.12.20~2134 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=40c18b13ac96a384e113ba95233d2a1ed152da59;p=lttv.git code fix git-svn-id: http://ltt.polymtl.ca/svn@1355 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/genevent-new/genevent.c b/genevent-new/genevent.c index 7f06edaa..c0204268 100644 --- a/genevent-new/genevent.c +++ b/genevent-new/genevent.c @@ -451,7 +451,7 @@ int print_type_declaration(type_descriptor_t * td, FILE *fd, unsigned int tabs, print_tabs(1, fd); if(print_type(((field_t*)td->fields.array[0])->type, fd, tabs, basename, "")) return 1; - fprintf(fd, "len;\n"); + fprintf(fd, " len;\n"); print_tabs(1, fd); if(print_type(((field_t*)td->fields.array[1])->type, fd, tabs, basename, "")) return 1; diff --git a/genevent-new/test.xml b/genevent-new/test.xml index 5b870f83..c6c2f021 100644 --- a/genevent-new/test.xml +++ b/genevent-new/test.xml @@ -30,21 +30,21 @@ - - - + + + - - - - + + + + - - - - + + + +