]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typo in macro names in sysconf.c
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 12 Sep 2014 11:07:31 +0000 (16:37 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Fri, 12 Sep 2014 11:07:31 +0000 (16:37 +0530)
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.

ChangeLog
sysdeps/posix/sysconf.c

index 95388d84a279aa000b386d24035316904fb89bcf..fdcaca6ee49c9f31f74904ec262fd811c314b4fe 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * sysdeps/posix/sysconf.c (__sysconf): Spell
+       _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
+
 2014-08-12  Florian Weimer  <fweimer@redhat.com>
 
        * iconv/gconv_open.c (__gconv_open): Remove transliteration module
index e940099b06fc09edfcc8f6ea855f8b00d4218e16..cd2fb5acda347058a91df288117280571746c116 100644 (file)
@@ -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;