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