(open_path): Fix test to determine whether DSO is auditing.
authordrepper <drepper>
Tue, 27 Jun 2006 14:23:02 +0000 (14:23 +0000)
committerdrepper <drepper>
Tue, 27 Jun 2006 14:23:02 +0000 (14:23 +0000)
elf/dl-load.c

index ae99ffd..902ffc4 100644 (file)
@@ -1846,7 +1846,7 @@ open_path (const char *name, size_t namelen, int preloaded,
                 auditing code.  We must try to disturb the program as
                 little as possible.  */
              else if (loader == NULL
-                      || GL(dl_ns)[loader->l_ns]._ns_loaded->l_audit == 0)
+                      || GL(dl_ns)[loader->l_ns]._ns_loaded->l_auditing == 0)
                {
                  /* We failed to open machine dependent library.  Let's
                     test whether there is any directory at all.  */