]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(_dl_map_object_from_fd): Fix a typo.
authorUlrich Drepper <drepper@redhat.com>
Tue, 8 Feb 2005 21:29:01 +0000 (21:29 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 8 Feb 2005 21:29:01 +0000 (21:29 +0000)
elf/dl-load.c

index f307dada2e013375f8e5f9d5e88ebcb871e0099e..088b2224e2631b8f881484a9f2c674e68fc75bfe 100644 (file)
@@ -1084,7 +1084,7 @@ _dl_map_object_from_fd (const char *name, int fd, struct filebuf *fbp,
            }
 
 # ifdef SHARED
-         if (l->l_prev == NULL || (mode && __RTLD_AUDIT) != 0)
+         if (l->l_prev == NULL || (mode & __RTLD_AUDIT) != 0)
            /* We are loading the executable itself when the dynamic linker
               was executed directly.  The setup will happen later.  */
            break;