about summary refs log tree commit diff
path: root/sysdeps/posix
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-09-12 16:37:31 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-09-12 16:37:31 +0530
commit920238e061af76ac99dd94c40a80b0c6d23f35d4 (patch)
tree2456586fdb0aa348f3b08c541580b6136903a865 /sysdeps/posix
parentba7b4d294b01870ce3497971e9d07ee261cdc540 (diff)
downloadglibc-920238e061af76ac99dd94c40a80b0c6d23f35d4.tar.gz
glibc-920238e061af76ac99dd94c40a80b0c6d23f35d4.tar.xz
glibc-920238e061af76ac99dd94c40a80b0c6d23f35d4.zip
Fix typo in macro names in sysconf.c
Spell _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
Found when trying to make the getconf environment variables
typo-proof.

	* sysdeps/posix/sysconf.c (__sysconf): Spell
	_POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
Diffstat (limited to 'sysdeps/posix')
-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 e940099b06..cd2fb5acda 100644
--- a/sysdeps/posix/sysconf.c
+++ b/sysdeps/posix/sysconf.c
@@ -886,13 +886,13 @@ __sysconf (name)
       return -1;
 #endif
     case _SC_DEVICE_SPECIFIC:
-#if _POSIX_DEVICE_SPCIFIC > 0
+#if _POSIX_DEVICE_SPECIFIC > 0
       return _POSIX_DEVICE_SPECIFIC;
 #else
       return -1;
 #endif
     case _SC_DEVICE_SPECIFIC_R:
-#if _POSIX_DEVICE_SPCIFIC_R > 0
+#if _POSIX_DEVICE_SPECIFIC_R > 0
       return _POSIX_DEVICE_SPECIFIC_R;
 #else
       return -1;