about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--elf/dl-load.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index c300780d7f..520062b8c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2006-06-27  Ulrich Drepper  <drepper@redhat.com>
 
+	* elf/dl-load.c (open_path): Fix test to determine whether DSO is
+	auditing.
+
 	* elf/dl-load.c (_dl_map_object): Try harder to avoid looking at
 	RPATH of main map twice.
 
diff --git a/elf/dl-load.c b/elf/dl-load.c
index ae99ffdcbc..902ffc4109 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -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.  */