about summary refs log tree commit diff
path: root/sysdeps/posix/sysconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/posix/sysconf.c')
-rw-r--r--sysdeps/posix/sysconf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
index cdd1fe9636..de72e84829 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -1227,9 +1227,9 @@ __sysconf_check_spec (const char *spec)
   size_t getconf_dirlen = strlen (getconf_dir);
   size_t speclen = strlen (spec);
 
-  char name[getconf_dirlen + sizeof ("/_POSIX_V6_") + speclen];
+  char name[getconf_dirlen + sizeof ("/POSIX_V6_") + speclen];
   memcpy (mempcpy (mempcpy (name, getconf_dir, getconf_dirlen),
-		   "/_POSIX_V6_", sizeof ("/_POSIX_V6_") - 1),
+		   "/POSIX_V6_", sizeof ("/POSIX_V6_") - 1),
 	  spec, speclen + 1);
 
   struct stat64 st;