aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-10-08 21:12:18 +0000
committerUlrich Drepper <drepper@redhat.com>2003-10-08 21:12:18 +0000
commit943ae89d56bdaf74caee27d56689ccd9c52fed96 (patch)
tree3fef42a73836f3ef1dd97abe1e546e6958ca1566 /sysdeps
parente700a90879806fa32aa21efbf877db646a8d9fd8 (diff)
downloadglibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.zip
glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar.gz
glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar.bz2
Update.
2003-10-08 Jakub Jelinek <jakub@redhat.com> * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate two identical copies of strings.
Diffstat (limited to 'sysdeps')
-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 8408e38..40dcf80 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -454,7 +454,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz,
}
else
{
- n = 1 << cnt;
+ n = 1 << (cnt - 1);
do
{
n -= 2;