about summary refs log tree commit diff
path: root/elf/dl-open.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-03-19 07:51:35 +0000
committerUlrich Drepper <drepper@redhat.com>2005-03-19 07:51:35 +0000
commita2f7570bdda3e64ce32d74d7df943d306683ab8e (patch)
tree39226b32e75ace455a9d163a45f0b693edc4ebe2 /elf/dl-open.c
parentc3381f3eb21b3660c8854e9bada5e7bd201a40af (diff)
downloadglibc-a2f7570bdda3e64ce32d74d7df943d306683ab8e.tar.gz
glibc-a2f7570bdda3e64ce32d74d7df943d306683ab8e.tar.xz
glibc-a2f7570bdda3e64ce32d74d7df943d306683ab8e.zip
* elf/dl-open.c (dl_open_worker): Print exact l_direct_opencount value,
	it has been incremented before.
Diffstat (limited to 'elf/dl-open.c')
-rw-r--r--elf/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/dl-open.c b/elf/dl-open.c
index 199c75553e..7433d99ff9 100644
--- a/elf/dl-open.c
+++ b/elf/dl-open.c
@@ -282,7 +282,7 @@ dl_open_worker (void *a)
       /* Let the user know about the opencount.  */
       if (__builtin_expect (GLRO(dl_debug_mask) & DL_DEBUG_FILES, 0))
 	_dl_debug_printf ("opening file=%s [%lu]; direct_opencount=%u\n\n",
-			  new->l_name, new->l_ns, new->l_direct_opencount + 1);
+			  new->l_name, new->l_ns, new->l_direct_opencount);
 
       /* If the user requested the object to be in the global namespace
 	 but it is not so far, add it now.  */