about summary refs log tree commit diff
path: root/debug/wmemset_chk.c
diff options
context:
space:
mode:
Diffstat (limited to 'debug/wmemset_chk.c')
-rw-r--r--debug/wmemset_chk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/debug/wmemset_chk.c b/debug/wmemset_chk.c
index 4caabbe420..025b3c14d2 100644
--- a/debug/wmemset_chk.c
+++ b/debug/wmemset_chk.c
@@ -22,7 +22,7 @@
 wchar_t *
 __wmemset_chk (wchar_t *s, wchar_t c, size_t n, size_t dstlen)
 {
-  if (__builtin_expect (dstlen < n, 0))
+  if (__glibc_unlikely (dstlen < n))
     __chk_fail ();
 
   return wmemset (s, c, n);