about summary refs log tree commit diff
path: root/debug/strcpy_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/strcpy_chk.c')
-rw-r--r--debug/strcpy_chk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/strcpy_chk.c b/debug/strcpy_chk.c
index 92549ae71a..5df98a0a4a 100644
--- a/debug/strcpy_chk.c
+++ b/debug/strcpy_chk.c
@@ -56,7 +56,7 @@ __strcpy_chk (dest, src, destlen)
 
   do
     {
-      if (__builtin_expect (destlen-- == 0, 0))
+      if (__glibc_unlikely (destlen-- == 0))
         __chk_fail ();
       c = *s;
       *(s++ + off) = c;