about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/getentropy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/getentropy.c')
-rw-r--r--sysdeps/mach/hurd/getentropy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/getentropy.c b/sysdeps/mach/hurd/getentropy.c
index d55eec8984..06175d90ce 100644
--- a/sysdeps/mach/hurd/getentropy.c
+++ b/sysdeps/mach/hurd/getentropy.c
@@ -41,7 +41,7 @@ getentropy (void *buffer, size_t length)
   while (buffer < end)
     {
       /* NB: No cancellation point.  */
-      ssize_t bytes = getrandom (buffer, end - buffer, 0);
+      ssize_t bytes = __getrandom (buffer, end - buffer, 0);
       if (bytes < 0)
         {
           if (errno == EINTR)