From 286321210a8494d15590693dba69b3bf40b09fc2 Mon Sep 17 00:00:00 2001 From: Matthias Jurenz Date: Sun, 26 Oct 2008 12:06:13 +0000 Subject: [PATCH] Minor bugfix in VTGen_write_COMMENT(): Call VTGEN_ALLOC_EVENT instead of VTGEN_ALLOC_DEF This commit was SVN r19808. --- ompi/contrib/vt/vt/vtlib/vt_otf_gen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/contrib/vt/vt/vtlib/vt_otf_gen.c b/ompi/contrib/vt/vt/vtlib/vt_otf_gen.c index ccc0cffed3..acc3b2bb4d 100644 --- a/ompi/contrib/vt/vt/vtlib/vt_otf_gen.c +++ b/ompi/contrib/vt/vt/vtlib/vt_otf_gen.c @@ -1518,7 +1518,7 @@ void VTGen_write_COMMENT(VTGen* gen, uint64_t* time, uint8_t length = VTGEN_ALIGN_LENGTH(sizeof(VTBuf_Entry_Comment)); - VTGEN_ALLOC_DEF(gen, length); + VTGEN_ALLOC_EVENT(gen, length); new_entry = ((VTBuf_Entry_Comment*)gen->buf->pos);