aboutsummaryrefslogtreecommitdiff
path: root/iconv/iconv_close.c
diff options
context:
space:
mode:
Diffstat (limited to 'iconv/iconv_close.c')
-rw-r--r--iconv/iconv_close.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/iconv_close.c b/iconv/iconv_close.c
index 1bf17939bf..304b4126b9 100644
--- a/iconv/iconv_close.c
+++ b/iconv/iconv_close.c
@@ -26,7 +26,7 @@
int
iconv_close (iconv_t cd)
{
- if (__builtin_expect (cd == (iconv_t *) -1L, 0))
+ if (__glibc_unlikely (cd == (iconv_t *) -1L))
{
__set_errno (EBADF);
return -1;