From caa78cf824f98d6f02f2e39cb9cf253c8553946f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 14 Jun 2010 16:54:43 -0700 Subject: Fix use of extend_alloca in NIS --- nis/nss_nis/nis-initgroups.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nis') diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c index a5a3ba6..85b9eee 100644 --- a/nis/nss_nis/nis-initgroups.c +++ b/nis/nss_nis/nis-initgroups.c @@ -139,7 +139,7 @@ get_uid (const char *user, uid_t *uidp) if (r != ERANGE) break; - extend_alloca (buf, buflen, 2 * buflen); + buf = extend_alloca (buf, buflen, 2 * buflen); } return 1; -- cgit v1.1