From 5632741ec7b280e194dc4782be4d16fa08e94379 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 Mar 1999 13:40:08 +0000 Subject: (Pseudo-Terminal Pairs): Change getpt and openpty documentation after recent change in the code. --- elf/dl-load.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'elf') diff --git a/elf/dl-load.c b/elf/dl-load.c index fa8e15c..d9645e6 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -481,7 +481,7 @@ _dl_init_paths (const char *llp) /* First set up the rest of the default search directory entries. */ aelem = rtld_search_dirs = (struct r_search_path_elem **) - malloc (((sizeof (system_dirs) / sizeof (system_dirs[0]) + 1) + malloc ((sizeof (system_dirs) / sizeof (system_dirs[0])) * sizeof (struct r_search_path_elem *)); if (rtld_search_dirs == NULL) _dl_signal_error (ENOMEM, NULL, "cannot create search path array"); -- cgit v1.1