fix name table
[lttv.git] / ltt / branches / poly / lttv / lttv / state.c
index a0186e04f9469d0059dc9e63dec2ff32f6322306..e5b4f9bf251af8719ff6c1b3ccf2176effb353e8 100644 (file)
@@ -302,7 +302,7 @@ static void expand_syscall_table(LttvTraceState *ts, int id)
   guint new_nb = check_expand(ts->nb_syscalls, id);
   if(likely(new_nb == ts->nb_syscalls))
     return;
-  expand_name_table(ts, &ts->syscall_names, ts->nb_syscalls, id);
+  expand_name_table(ts, &ts->syscall_names, ts->nb_syscalls, new_nb);
   fill_name_table(ts, ts->syscall_names, ts->nb_syscalls, new_nb, "syscall");
   /* Update the table size */
   ts->nb_syscalls = new_nb;
This page took 0.023827 seconds and 4 git commands to generate.