mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Use glibc_likely instead __builtin_expect.
This commit is contained in:
@ -36,7 +36,7 @@ mq_unlink (const char *name)
|
||||
|
||||
/* While unlink can return either EPERM or EACCES, mq_unlink should
|
||||
return just EACCES. */
|
||||
if (__builtin_expect (INTERNAL_SYSCALL_ERROR_P (ret, err), 0))
|
||||
if (__glibc_unlikely (INTERNAL_SYSCALL_ERROR_P (ret, err)))
|
||||
{
|
||||
ret = INTERNAL_SYSCALL_ERRNO (ret, err);
|
||||
if (ret == EPERM)
|
||||
|
Reference in New Issue
Block a user