1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00

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.
This commit is contained in:
Siddhesh Poyarekar
2014-09-12 16:37:31 +05:30
parent ba7b4d294b
commit 920238e061
2 changed files with 7 additions and 2 deletions

View 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;