diff options
Diffstat (limited to 'elf')
-rw-r--r-- | elf/dl-deps.c | 2 | ||||
-rw-r--r-- | elf/dl-fini.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/elf/dl-deps.c b/elf/dl-deps.c index 7fa4d691c3..95b1088f22 100644 --- a/elf/dl-deps.c +++ b/elf/dl-deps.c @@ -627,7 +627,7 @@ Filters not supported with LD_TRACE_PRELINKING")); while (1) { /* Keep track of which object we looked at this round. */ - seen[i] += seen[i] < 2; + ++seen[i]; struct link_map *thisp = l_initfini[i]; /* Find the last object in the list for which the current one is diff --git a/elf/dl-fini.c b/elf/dl-fini.c index 6df80ef78e..9fd913e0b7 100644 --- a/elf/dl-fini.c +++ b/elf/dl-fini.c @@ -44,7 +44,7 @@ _dl_sort_fini (struct link_map **maps, size_t nmaps, char *used, Lmid_t ns) while (1) { /* Keep track of which object we looked at this round. */ - seen[i] += seen[i] < 2; + ++seen[i]; struct link_map *thisp = maps[i]; /* Do not handle ld.so in secondary namespaces and object which |