summaryrefslogtreecommitdiff
path: root/elf/rtld.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2011-08-14 15:59:11 -0700
committerRoland McGrath <roland@hack.frob.com>2011-08-14 15:59:11 -0700
commit5e4287d16f897cde3e0201de0f96d148248c0ca9 (patch)
tree178dc8fef4fdd2d5e3a66d1347f4b007e5556f1c /elf/rtld.c
parent9c96ff23858b0759e12ad69e3c4599931c90bee8 (diff)
downloadglibc-5e4287d16f897cde3e0201de0f96d148248c0ca9.tar.gz
Warning patrol.
Diffstat (limited to 'elf/rtld.c')
-rw-r--r--elf/rtld.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/rtld.c b/elf/rtld.c
index b84a3e7a34..478d037306 100644
--- a/elf/rtld.c
+++ b/elf/rtld.c
@@ -1391,7 +1391,7 @@ of this helper program; chances are you did not intend to run this program.\n\
char *copy = malloc (len);
if (copy == NULL)
_dl_fatal_printf ("out of memory\n");
- l->l_name = l->l_libname->name = memcpy (copy, dsoname, len);
+ l->l_libname->name = l->l_name = memcpy (copy, dsoname, len);
}
/* Add the vDSO to the object list. */