about summary refs log tree commit diff
path: root/sysdeps/unix/sysv/linux/fips-private.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/sysv/linux/fips-private.h')
-rw-r--r--sysdeps/unix/sysv/linux/fips-private.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/fips-private.h b/sysdeps/unix/sysv/linux/fips-private.h
index c9fe26695c..3a83a0f158 100644
--- a/sysdeps/unix/sysv/linux/fips-private.h
+++ b/sysdeps/unix/sysv/linux/fips-private.h
@@ -42,7 +42,7 @@ fips_enabled_p (void)
 
   if (checked == FIPS_UNTESTED)
     {
-      int fd = open_not_cancel_2 ("/proc/sys/crypto/fips_enabled", O_RDONLY);
+      int fd = __open_nocancel ("/proc/sys/crypto/fips_enabled", O_RDONLY);
 
       if (fd != -1)
 	{