summary refs log tree commit diff
path: root/sysdeps/unix/sysv/aix/dl-open.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/aix/dl-open.c')
-rw-r--r--sysdeps/unix/sysv/aix/dl-open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/aix/dl-open.c b/sysdeps/unix/sysv/aix/dl-open.c
index 0189ab465d..ba8e2bf298 100644
--- a/sysdeps/unix/sysv/aix/dl-open.c
+++ b/sysdeps/unix/sysv/aix/dl-open.c
@@ -85,7 +85,7 @@ _dl_open (const char *file, int mode, const void *caller)
     {
       bsize *= 2;
       dl_info = realloc (dl_info, bsize);
-      if (new_dl_info == NULL)
+      if (dl_info == NULL)
         {
 	  (void) __unload ((void *) handle);
           errno = ENOMEM;