aboutsummaryrefslogtreecommitdiff
path: root/elf/dl-close.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-09-01 10:35:19 +0000
committerUlrich Drepper <drepper@redhat.com>1998-09-01 10:35:19 +0000
commit6a805a0b401e2ffbdc55404d8b741fd94d0f4deb (patch)
tree187589c01dfb2cfad68403d36b0c792e13abd75e /elf/dl-close.c
parent7afab53d438e9fdc3060c20cf855235aa5ef6f49 (diff)
downloadglibc-6a805a0b401e2ffbdc55404d8b741fd94d0f4deb.tar
glibc-6a805a0b401e2ffbdc55404d8b741fd94d0f4deb.tar.gz
glibc-6a805a0b401e2ffbdc55404d8b741fd94d0f4deb.tar.bz2
glibc-6a805a0b401e2ffbdc55404d8b741fd94d0f4deb.zip
Fix typo.
* sysdeps/i386/pt-machine.h: Likewise.
Diffstat (limited to 'elf/dl-close.c')
-rw-r--r--elf/dl-close.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/elf/dl-close.c b/elf/dl-close.c
index bbbeed8e58..0851e20193 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -144,6 +144,7 @@ _dl_close (struct link_map *map)
/* We will unlink the first object only if this is a statically
linked program. */
assert (imap->l_prev != NULL);
+ imap->l_prev->l_next = imap->l_next;
#else
if (imap->l_prev != NULL)
imap->l_prev->l_next = imap->l_next;