From: Siddhesh Poyarekar Date: Fri, 12 Sep 2014 11:07:31 +0000 (+0530) Subject: Fix typo in macro names in sysconf.c X-Git-Tag: glibc-2.21~567 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=920238e061af76ac99dd94c40a80b0c6d23f35d4;p=thirdparty%2Fglibc.git 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. --- diff --git a/ChangeLog b/ChangeLog index 95388d84a27..fdcaca6ee49 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-09-12 Siddhesh Poyarekar + + * sysdeps/posix/sysconf.c (__sysconf): Spell + _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly. + 2014-08-12 Florian Weimer * iconv/gconv_open.c (__gconv_open): Remove transliteration module diff --git a/sysdeps/posix/sysconf.c b/sysdeps/posix/sysconf.c index e940099b06f..cd2fb5acda3 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;