about summary refs log tree commit diff
path: root/nis
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@redhat.com>2010-06-14 16:54:43 -0700
committerUlrich Drepper <drepper@redhat.com>2010-06-14 16:54:43 -0700
commitcaa78cf824f98d6f02f2e39cb9cf253c8553946f (patch)
tree7e186924ad8711c0f875c080900cffe6472186c0 /nis
parent46658a1cbccb564942a147a747a7579099773764 (diff)
downloadglibc-caa78cf824f98d6f02f2e39cb9cf253c8553946f.tar.gz
glibc-caa78cf824f98d6f02f2e39cb9cf253c8553946f.tar.xz
glibc-caa78cf824f98d6f02f2e39cb9cf253c8553946f.zip
Fix use of extend_alloca in NIS
Diffstat (limited to 'nis')
-rw-r--r--nis/nss_nis/nis-initgroups.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nss_nis/nis-initgroups.c b/nis/nss_nis/nis-initgroups.c
index a5a3ba6144..85b9eeecc1 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;