aboutsummaryrefslogtreecommitdiff
path: root/stdio-common/perror.c
diff options
context:
space:
mode:
Diffstat (limited to 'stdio-common/perror.c')
-rw-r--r--stdio-common/perror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/perror.c b/stdio-common/perror.c
index acd97d2..4b47015 100644
--- a/stdio-common/perror.c
+++ b/stdio-common/perror.c
@@ -60,7 +60,7 @@ perror (const char *s)
|| (fd = __dup (fd)) == -1
|| (fp = fdopen (fd, "w+")) == NULL)
{
- if (__builtin_expect (fd != -1, 0))
+ if (__glibc_unlikely (fd != -1))
__close (fd);
/* Use standard error as is. */