summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getproto.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getproto.c')
-rw-r--r--otherlibs/unix/getproto.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getproto.c b/otherlibs/unix/getproto.c
index 5fff35d31..01045df18 100644
--- a/otherlibs/unix/getproto.c
+++ b/otherlibs/unix/getproto.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 @@ static value alloc_proto_entry(struct protoent *entry)
Begin_roots2 (name, aliases);
name = copy_string(entry->p_name);
aliases = copy_string_array(entry->p_aliases);
- res = alloc_tuple(3);
+ res = alloc_small(3, 0);
Field(res,0) = name;
Field(res,1) = aliases;
Field(res,2) = Val_int(entry->p_proto);