summaryrefslogtreecommitdiffhomepage
path: root/mixlib
diff options
context:
space:
mode:
Diffstat (limited to 'mixlib')
-rw-r--r--mixlib/mix_vm_clock.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/mixlib/mix_vm_clock.c b/mixlib/mix_vm_clock.c
index c8d1f67..0b1f3da 100644
--- a/mixlib/mix_vm_clock.c
+++ b/mixlib/mix_vm_clock.c
@@ -1,7 +1,7 @@
/* -*-c-*- -------------- mix_vm_clock.c :
* Implementation of the functions declared in mix_vm_clock.h
* ------------------------------------------------------------------
- * Last change: Time-stamp: "00/12/22 02:19:30 jose"
+ * Last change: Time-stamp: "00/12/23 03:35:50 jose"
* ------------------------------------------------------------------
* Copyright (C) 2000 jose antonio ortega ruiz <jaortega@acm.org>
*
@@ -40,7 +40,9 @@ static const mix_time_t exec_times_[] = {
mix_vm_clock_t *
mix_vm_clock_new ()
{
- return g_new (mix_vm_clock_t, 1);
+ mix_vm_clock_t *result = g_new (mix_vm_clock_t, 1);
+ result->time = 0;
+ return result;
}
void