aboutsummaryrefslogtreecommitdiff
path: root/assert/assert.c
diff options
context:
space:
mode:
Diffstat (limited to 'assert/assert.c')
-rw-r--r--assert/assert.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/assert/assert.c b/assert/assert.c
index 2b85993..da7356a 100644
--- a/assert/assert.c
+++ b/assert/assert.c
@@ -67,7 +67,7 @@ __assert_fail_base (const char *fmt, const char *assertion, const char *file,
total = (total + 1 + GLRO(dl_pagesize) - 1) & ~(GLRO(dl_pagesize) - 1);
struct abort_msg_s *buf = __mmap (NULL, total, PROT_READ | PROT_WRITE,
MAP_ANON | MAP_PRIVATE, -1, 0);
- if (__builtin_expect (buf != MAP_FAILED, 1))
+ if (__glibc_likely (buf != MAP_FAILED))
{
buf->size = total;
strcpy (buf->msg, str);