summaryrefslogtreecommitdiff
path: root/sysdeps/generic/dl-sysdep.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-31 22:46:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-31 22:46:26 +0000
commitf5baa731d07c8d9b13bd04f4532f714cddfc8da2 (patch)
tree817cb85560b5d738c5db845cedf5e27190cd23df /sysdeps/generic/dl-sysdep.c
parent3331899af3fcaf628e118686a4ebbf592dca9ec8 (diff)
downloadglibc-f5baa731d07c8d9b13bd04f4532f714cddfc8da2.tar.gz
Update.
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Fix typo. * iconvdata/gap.pl: Avoid using %#06x. 1998-03-31 19:55 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makerules: Use $? instead of S^ when invoking ar. 1998-03-31 Ulrich Drepper <drepper@cygnus.com>
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r--sysdeps/generic/dl-sysdep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 25a3dd23cd..e05d38d31c 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -335,7 +335,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
total = temp[0].len;
else
{
- total = (1 << (cnt - 2)) * (temp[0].len = temp[cnt - 1].len + 2);
+ total = (1 << (cnt - 2)) * (temp[0].len + temp[cnt - 1].len + 2);
for (n = 1; n + 1 < cnt; ++n)
total += (1 << (cnt - 3)) * (temp[n].len + 1);
}