diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-10-08 21:12:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-10-08 21:12:18 +0000 |
commit | 943ae89d56bdaf74caee27d56689ccd9c52fed96 (patch) | |
tree | 3fef42a73836f3ef1dd97abe1e546e6958ca1566 /sysdeps | |
parent | e700a90879806fa32aa21efbf877db646a8d9fd8 (diff) | |
download | glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar.gz glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar.xz glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.zip |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 8408e38085..40dcf8060e 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; |