]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Complete last change.
authorUlrich Drepper <drepper@redhat.com>
Mon, 13 Sep 1999 09:06:08 +0000 (09:06 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 13 Sep 1999 09:06:08 +0000 (09:06 +0000)
elf/link.h

index 9b34531355594fa3818a834f0a803e7e56af2698..070eabb6dca28084771a8caf0b40f1dbb07ef341 100644 (file)
@@ -69,7 +69,7 @@ extern struct r_debug _r_debug;
 /* This symbol refers to the "dynamic structure" in the `.dynamic' section
    of whatever module refers to `_DYNAMIC'.  So, to find its own
    `struct r_debug', a program could do:
-     for (dyn = _DYNAMIC; dyn->d_tag != DT_NULL)
+     for (dyn = _DYNAMIC; dyn->d_tag != DT_NULL; ++dyn)
        if (dyn->d_tag == DT_DEBUG)
         r_debug = (struct r_debug *) dyn->d_un.d_ptr;
    */