aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog4
-rw-r--r--elf/dl-close.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 329ea7d097..359f7ed5d4 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-04-26 Andreas Schwab <schwab@suse.de>
+
+ * elf/dl-close.c (remove_slotinfo): Fix missing parens.
+
2003-04-25 Ulrich Drepper <drepper@redhat.com>
* nscd/cache.c (cache_search): Keep track of how many chain links
diff --git a/elf/dl-close.c b/elf/dl-close.c
index 1e6dd1255a..78b143f8ec 100644
--- a/elf/dl-close.c
+++ b/elf/dl-close.c
@@ -80,7 +80,7 @@ remove_slotinfo (size_t idx, struct dtv_slotinfo_list *listp, size_t disp,
return true;
}
- while (idx - disp > disp == 0 ? 1 + GL(dl_tls_static_nelem) : 0)
+ while (idx - disp > (disp == 0 ? 1 + GL(dl_tls_static_nelem) : 0))
{
--idx;