about summary refs log tree commit diff
path: root/elf
diff options
context:
space:
mode:
Diffstat (limited to 'elf')
-rw-r--r--elf/dl-load.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c
index 0948b8f21e..2955bc5173 100644
--- a/elf/dl-load.c
+++ b/elf/dl-load.c
@@ -1166,8 +1166,8 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
 
   elf_get_dynamic_info (l);
 
-  /* Make sure we are dlopen()ing an object which has the DF_1_NOOPEN
-     flag set.  */
+  /* Make sure we are not dlopen'ing an object
+     that has the DF_1_NOOPEN flag set.  */
   if ((__builtin_expect (l->l_flags_1 & DF_1_NOOPEN, 0)
 #ifdef USE_TLS
        || __builtin_expect (l->l_flags & DF_STATIC_TLS, 0)
@@ -1861,7 +1861,7 @@ cannot create shared object descriptor"));
 	}
       else
 	INTUSE(_dl_signal_error) (errno, name, NULL,
-			       N_("cannot open shared object file"));
+				  N_("cannot open shared object file"));
     }
 
   return _dl_map_object_from_fd (name, fd, &fb, realname, loader, type, mode);