aboutsummaryrefslogtreecommitdiff
path: root/elf
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-10-17 08:38:08 +0000
committerUlrich Drepper <drepper@redhat.com>2008-10-17 08:38:08 +0000
commit292eb8177ece7670194f16e0e776eb3a1cd252ae (patch)
tree1134cf675ec1b4a0a73025e172b27732e200a83f /elf
parent5df2a427bec4c837fa7da13ad07a3b97861da3ef (diff)
downloadglibc-292eb8177ece7670194f16e0e776eb3a1cd252ae.tar
glibc-292eb8177ece7670194f16e0e776eb3a1cd252ae.tar.gz
glibc-292eb8177ece7670194f16e0e776eb3a1cd252ae.tar.bz2
glibc-292eb8177ece7670194f16e0e776eb3a1cd252ae.zip
* stdlib/divmod_1.c: Use correct type for dummy variable.
* stdlib/mod_1.c: Likewise.
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-tls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-tls.c b/elf/dl-tls.c
index edbc953e4a..e234a0a82a 100644
--- a/elf/dl-tls.c
+++ b/elf/dl-tls.c
@@ -634,7 +634,7 @@ _dl_update_slotinfo (unsigned long int req_modid)
newp = malloc ((2 + newsize) * sizeof (dtv_t));
if (newp == NULL)
oom ();
- memcpy (newp, &dtv[-1], (2 * oldsize) * sizeof (dtv_t));
+ memcpy (newp, &dtv[-1], (2 + oldsize) * sizeof (dtv_t));
}
else
{