25845f
commit 920238e061af76ac99dd94c40a80b0c6d23f35d4
25845f
Author: Siddhesh Poyarekar <siddhesh@redhat.com>
25845f
Date:   Fri Sep 12 16:37:31 2014 +0530
25845f
25845f
    Fix typo in macro names in sysconf.c
25845f
    
25845f
    Spell _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25845f
    Found when trying to make the getconf environment variables
25845f
    typo-proof.
25845f
    
25845f
            * sysdeps/posix/sysconf.c (__sysconf): Spell
25845f
            _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
25845f
25845f
diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c
25845f
index 6340b6250d57c295..e795b565367bdd1b 100644
25845f
--- a/sysdeps/posix/sysconf.c
25845f
+++ b/sysdeps/posix/sysconf.c
25845f
@@ -886,13 +886,13 @@ __sysconf (name)
25845f
       return -1;
25845f
 #endif
25845f
     case _SC_DEVICE_SPECIFIC:
25845f
-#if _POSIX_DEVICE_SPCIFIC > 0
25845f
+#if _POSIX_DEVICE_SPECIFIC > 0
25845f
       return _POSIX_DEVICE_SPECIFIC;
25845f
 #else
25845f
       return -1;
25845f
 #endif
25845f
     case _SC_DEVICE_SPECIFIC_R:
25845f
-#if _POSIX_DEVICE_SPCIFIC_R > 0
25845f
+#if _POSIX_DEVICE_SPECIFIC_R > 0
25845f
       return _POSIX_DEVICE_SPECIFIC_R;
25845f
 #else
25845f
       return -1;