about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--iconv/iconv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iconv/iconv.c b/iconv/iconv.c
index c7ff73c428..3fafc88cee 100644
--- a/iconv/iconv.c
+++ b/iconv/iconv.c
@@ -37,7 +37,7 @@ iconv (iconv_t cd, const char **inbuf, size_t *inbytesleft, char **outbuf,
   size_t converted;
   int result;
 
-  if (__gconv_builtin (inbuf == NULL || *inbuf == NULL), 0)
+  if (__builtin_expect (inbuf == NULL || *inbuf == NULL, 0))
     {
       if (outbuf == NULL || *outbuf == NULL)
 	result = __gconv (gcd, NULL, NULL, NULL, NULL, &converted);