summary refs log tree commit diff
path: root/string/strcspn.c
diff options
context:
space:
mode:
Diffstat (limited to 'string/strcspn.c')
-rw-r--r--string/strcspn.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/string/strcspn.c b/string/strcspn.c
index e9fb8c5cb2..1105bcf931 100644
--- a/string/strcspn.c
+++ b/string/strcspn.c
@@ -30,8 +30,8 @@
 size_t
 STRCSPN (const char *str, const char *reject)
 {
-  if (__glibc_unlikely (reject[0] == '\0') ||
-      __glibc_unlikely (reject[1] == '\0'))
+  if (__glibc_unlikely (reject[0] == '\0')
+      || __glibc_unlikely (reject[1] == '\0'))
     return __strchrnul (str, reject [0]) - str;
 
   /* Use multiple small memsets to enable inlining on most targets.  */