summaryrefslogtreecommitdiff
path: root/string/strerror.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strerror.c')
-rw-r--r--string/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string/strerror.c b/string/strerror.c
index 5eed633e2b..3d732a2d28 100644
--- a/string/strerror.c
+++ b/string/strerror.c
@@ -32,7 +32,7 @@ strerror (errnum)
char *ret = __strerror_r (errnum, NULL, 0);
int saved_errno;
- if (__builtin_expect (ret != NULL, 1))
+ if (__glibc_likely (ret != NULL))
return ret;
saved_errno = errno;
if (buf == NULL)