From facab7c22d1188444e6cf485aab167dea1426d23 Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 28 Jul 2004 12:56:59 +0000 Subject: [PATCH] array off by one git-svn-id: http://ltt.polymtl.ca/svn@639 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/lttv/state.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/lttv/state.c b/ltt/branches/poly/lttv/lttv/state.c index 469ed1c2..f7d34be1 100644 --- a/ltt/branches/poly/lttv/lttv/state.c +++ b/ltt/branches/poly/lttv/lttv/state.c @@ -814,7 +814,6 @@ lttv_state_create_process(LttvTracefileState *tfs, LttvProcessState *parent, return process; } - LttvProcessState * lttv_state_find_process_from_trace(LttvTraceState *ts, GQuark cpu, guint pid) { @@ -1072,7 +1071,7 @@ void lttv_state_add_event_hooks(LttvTracesetState *self) associated by id hooks. */ hooks = g_array_new(FALSE, FALSE, sizeof(LttvTraceHook)); - g_array_set_size(hooks, 9); + g_array_set_size(hooks, 8); lttv_trace_find_hook(ts->parent.t, "core","syscall_entry","syscall_id", NULL, NULL, syscall_entry, &g_array_index(hooks, LttvTraceHook, 0)); -- 2.34.1