about summary refs log tree commit diff
path: root/grp/putgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'grp/putgrent.c')
-rw-r--r--grp/putgrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grp/putgrent.c b/grp/putgrent.c
index bb429277e5..029415fcbd 100644
--- a/grp/putgrent.c
+++ b/grp/putgrent.c
@@ -33,7 +33,7 @@ putgrent (gr, stream)
 {
   int retval;
 
-  if (__builtin_expect (gr == NULL, 0) || __builtin_expect (stream == NULL, 0))
+  if (__glibc_unlikely (gr == NULL) || __glibc_unlikely (stream == NULL))
     {
       __set_errno (EINVAL);
       return -1;