array off by one
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 28 Jul 2004 12:56:59 +0000 (12:56 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 28 Jul 2004 12:56:59 +0000 (12:56 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@639 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/lttv/state.c

index 469ed1c22186876fea237ba7324cf6a89129a1fe..f7d34be1a753433bff6c4c05e1f0d1593af05530 100644 (file)
@@ -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));
This page took 0.026017 seconds and 4 git commands to generate.