From be91591133bd4edd940f1db7a98237db0c1ef73a Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 13 Sep 1999 09:06:08 +0000 Subject: [PATCH] Complete last change. --- elf/link.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/elf/link.h b/elf/link.h index 9b345313555..070eabb6dca 100644 --- a/elf/link.h +++ b/elf/link.h @@ -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; */ -- 2.47.2