From 4aee92ee9eae6390f507c7ae061f28f6a208ac08 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 18 Jan 2008 17:29:51 +0000 Subject: [PATCH] fix name table git-svn-id: http://ltt.polymtl.ca/svn@2800 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/state.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index a0186e04..e5b4f9bf 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -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; -- 2.34.1