X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Fltt%2Ftracefile.c;h=5ddabdbd0adebe857d717cad29f202c400b5e4ee;hb=5a69756597a55db56efb61388060c535854f44e2;hp=37a7c0354b287bbf709080bec0db76ea275a15f4;hpb=69183aa940ddc7f8bd17e84e4198d2c71498ab37;p=lttv.git diff --git a/ltt/branches/poly/ltt/tracefile.c b/ltt/branches/poly/ltt/tracefile.c index 37a7c035..5ddabdbd 100644 --- a/ltt/branches/poly/ltt/tracefile.c +++ b/ltt/branches/poly/ltt/tracefile.c @@ -252,11 +252,11 @@ int parse_trace_header(void *header, LttTracefile *tf, LttTrace *t) break; case 6: { - struct ltt_trace_header_0_5 *vheader = - (struct ltt_trace_header_0_5 *)header; + struct ltt_trace_header_0_6 *vheader = + (struct ltt_trace_header_0_6 *)header; tf->buffer_header_size = sizeof(struct ltt_block_start_header) - + sizeof(struct ltt_trace_header_0_5); + + sizeof(struct ltt_trace_header_0_6); if(t) { t->start_freq = ltt_get_uint64(LTT_GET_BO(tf), &vheader->start_freq);