From dc7da6038247cabf3a7206d70d24e9176e7a3aeb Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 11 Nov 2005 18:05:12 +0000 Subject: [PATCH] gentest improvments git-svn-id: http://ltt.polymtl.ca/svn@1321 04897980-b3bd-0310-b5e0-8ef037075253 --- genevent-new/gentest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/genevent-new/gentest.c b/genevent-new/gentest.c index cfb6c73a..a1446007 100644 --- a/genevent-new/gentest.c +++ b/genevent-new/gentest.c @@ -429,6 +429,7 @@ void test() size_t size = lttng_get_size_mystruct(&test); size_t align = lttng_get_alignment_mystruct(&test); + /* the buffer is allocated on arch_size alignment */ void *buf = malloc(align + size); size_t to = 0; void *from = &test; -- 2.34.1