summary refs log tree commit diff
path: root/sysdeps/generic/dl-sysdep.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/dl-sysdep.c')
-rw-r--r--sysdeps/generic/dl-sysdep.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c
index 2954b3309f..f8b8ac1e75 100644
--- a/sysdeps/generic/dl-sysdep.c
+++ b/sysdeps/generic/dl-sysdep.c
@@ -168,8 +168,8 @@ _dl_sysdep_start (void **start_argptr,
   __libc_enable_secure = uid != euid || gid != egid;
 
 #ifndef HAVE_AUX_PAGESIZE
-  if (_dl_pagesize == 0)
-    _dl_pagesize = __getpagesize ();
+  if (GL(dl_pagesize) == 0)
+    GL(dl_pagesize) = __getpagesize ();
 #endif
 
 #ifdef DL_SYSDEP_INIT