summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketpair.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketpair.c')
-rw-r--r--otherlibs/unix/socketpair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/socketpair.c b/otherlibs/unix/socketpair.c
index 0f325a471..2a54d4a42 100644
--- a/otherlibs/unix/socketpair.c
+++ b/otherlibs/unix/socketpair.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. */
/* */
/***********************************************************************/
@@ -29,7 +29,7 @@ value unix_socketpair(value domain, value type, value proto) /* ML */
socket_type_table[Int_val(type)],
Int_val(proto), sv) == -1)
uerror("socketpair", Nothing);
- res = alloc_tuple(2);
+ res = alloc_small(2, 0);
Field(res,0) = Val_int(sv[0]);
Field(res,1) = Val_int(sv[1]);
return res;