From: Ulrich Drepper Date: Thu, 12 Mar 1998 12:28:28 +0000 (+0000) Subject: (dl_main): Fixtypo. X-Git-Tag: cvs/before-sparc-2_0_x-branch~82 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d834d54a518416ebb6902025653a1a503690294a;p=thirdparty%2Fglibc.git (dl_main): Fixtypo. --- diff --git a/elf/rtld.c b/elf/rtld.c index 492504b3038..d533a3912cb 100644 --- a/elf/rtld.c +++ b/elf/rtld.c @@ -368,8 +368,7 @@ of this helper program; chances are you did not intend to run this program.\n", while ((p = strsep (&list, " :")) != NULL) if (! __libc_enable_secure || strchr (p, '/') == NULL) { - struct link_map *new_map = _dl_map_object (main_map, p, 1, - lt_library, 0); + struct link_map *new_map = _dl_map_object (l, p, 1, lt_library, 0); if (new_map->l_opencount == 1) /* It is no duplicate. */ ++npreloads; @@ -431,7 +430,7 @@ of this helper program; chances are you did not intend to run this program.\n", runp = file + strspn (file, ": \t\n"); while ((p = strsep (&runp, ": \t\n")) != NULL) { - struct link_map *new_map = _dl_map_object (main_map, p, 1, + struct link_map *new_map = _dl_map_object (l, p, 1, lt_library, 0); if (new_map->l_opencount == 1) /* It is no duplicate. */ @@ -445,7 +444,7 @@ of this helper program; chances are you did not intend to run this program.\n", if (problem != NULL) { char *p = strndupa (problem, file_size - (problem - file)); - struct link_map *new_map = _dl_map_object (main_map, p, 1, + struct link_map *new_map = _dl_map_object (l, p, 1, lt_library, 0); if (new_map->l_opencount == 1) /* It is no duplicate. */