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:
@ -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;
|
||||
|
Reference in New Issue
Block a user