(dl_open_worker): Print exact l_direct_opencount value, it has been
authordrepper <drepper>
Sat, 19 Mar 2005 07:50:49 +0000 (07:50 +0000)
committerdrepper <drepper>
Sat, 19 Mar 2005 07:50:49 +0000 (07:50 +0000)
incremented before.

elf/dl-open.c

index 199c755..7433d99 100644 (file)
@@ -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.  */