aboutsummaryrefslogtreecommitdiff
path: root/grp/fgetgrent.c
diff options
context:
space:
mode:
Diffstat (limited to 'grp/fgetgrent.c')
-rw-r--r--grp/fgetgrent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/grp/fgetgrent.c b/grp/fgetgrent.c
index 2ab64d2..38c8383 100644
--- a/grp/fgetgrent.c
+++ b/grp/fgetgrent.c
@@ -57,7 +57,7 @@ fgetgrent (FILE *stream)
char *new_buf;
buffer_size += NSS_BUFLEN_GROUP;
new_buf = realloc (buffer, buffer_size);
- if (__builtin_expect (new_buf == NULL, 0))
+ if (__glibc_unlikely (new_buf == NULL))
{
/* We are out of memory. Free the current buffer so that the
process gets a chance for a normal termination. */