about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-03-15 13:40:08 +0000
committerUlrich Drepper <drepper@redhat.com>1999-03-15 13:40:08 +0000
commit5632741ec7b280e194dc4782be4d16fa08e94379 (patch)
tree9fc10333b3f1eb30d598bf11277e0c64d6d7d26d /elf
parent983b29ede844ad5c26eb9825817eb8c123c5075a (diff)
downloadglibc-5632741ec7b280e194dc4782be4d16fa08e94379.tar.gz
glibc-5632741ec7b280e194dc4782be4d16fa08e94379.tar.xz
glibc-5632741ec7b280e194dc4782be4d16fa08e94379.zip
(Pseudo-Terminal Pairs): Change getpt and openpty documentation after recent change in the code.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index fa8e15cc0c..d9645e6f54 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");