summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/times.c
diff options
context:
space:
mode:
authorDamien Doligez <damien.doligez-inria.fr>1998-10-26 19:19:32 +0000
committerDamien Doligez <damien.doligez-inria.fr>1998-10-26 19:19:32 +0000
commit3be947947e3249a9b362fc790d377e43c4108a62 (patch)
treefa0c0fbdd5b3148f926e2f7f15090f7bd7d9a44d /otherlibs/unix/times.c
parent59cb8750d21154c767d7224cd0f726b5da62d59b (diff)
nouvelles fonctions alloc/alloc_small
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2134 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/unix/times.c')
-rw-r--r--otherlibs/unix/times.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/times.c b/otherlibs/unix/times.c
index 3692bfe20..01e125031 100644
--- a/otherlibs/unix/times.c
+++ b/otherlibs/unix/times.c
@@ -5,7 +5,7 @@
/* Xavier Leroy, projet Cristal, INRIA Rocquencourt */
/* */
/* Copyright 1996 Institut National de Recherche en Informatique et */
-/* Automatique. Distributed only by permission. */
+/* en Automatique. Distributed only by permission. */
/* */
/***********************************************************************/
@@ -33,7 +33,7 @@ value unix_times(void) /* ML */
struct tms buffer;
times(&buffer);
- res = alloc(4 * Double_wosize, Double_array_tag);
+ res = alloc_small(4 * Double_wosize, Double_array_tag);
Store_double_field(res, 0, (double) buffer.tms_utime / CLK_TCK);
Store_double_field(res, 1, (double) buffer.tms_stime / CLK_TCK);
Store_double_field(res, 2, (double) buffer.tms_cutime / CLK_TCK);