summaryrefslogtreecommitdiff
path: root/nss/getXXent.c
diff options
context:
space:
mode:
Diffstat (limited to 'nss/getXXent.c')
-rw-r--r--nss/getXXent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nss/getXXent.c b/nss/getXXent.c
index da3712c70f..fd75979c9d 100644
--- a/nss/getXXent.c
+++ b/nss/getXXent.c
@@ -57,7 +57,7 @@ LOOKUP_TYPE *
GETFUNC_NAME (void)
{
static char buffer[BUFLEN];
- LOOKUP_TYPE result;
+ static LOOKUP_TYPE result;
return REENTRANT_GETNAME (&result, buffer, BUFLEN H_ERRNO_VAR);
}