summaryrefslogtreecommitdiffstats
path: root/src/tools/perftool/cpelinreg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/perftool/cpelinreg.c')
-rw-r--r--src/tools/perftool/cpelinreg.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/tools/perftool/cpelinreg.c b/src/tools/perftool/cpelinreg.c
index 115afad7fb2..44399904237 100644
--- a/src/tools/perftool/cpelinreg.c
+++ b/src/tools/perftool/cpelinreg.c
@@ -617,12 +617,12 @@ int event_pass (cpel_section_header_t *sh, int verbose, FILE *ofp)
} else {
dup_events++;
}
- _vec_len(tp->start_datum) = sp;
- _vec_len(tp->start_time) = sp;
- _vec_len(tp->dup_event) = sp;
- }
+ vec_set_len (tp->start_datum, sp);
+ vec_set_len (tp->start_time, sp);
+ vec_set_len (tp->dup_event, sp);
+ }
- ep++;
+ ep++;
}
last_end_time = now;