about summary refs log tree commit diff
path: root/nis/nss_compat/compat-spwd.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-01-13 11:12:55 -0800
committerRoland McGrath <roland@hack.frob.com>2015-01-13 11:12:55 -0800
commit1c6e6f2315b343cbac94c2dd798a6ebb80489a12 (patch)
tree851756d9425469dfce159d7bb1a30bee0283816d /nis/nss_compat/compat-spwd.c
parent8bedcb5f03c62bf6001396dafdd82fbd4da7c2db (diff)
downloadglibc-1c6e6f2315b343cbac94c2dd798a6ebb80489a12.tar.gz
glibc-1c6e6f2315b343cbac94c2dd798a6ebb80489a12.tar.xz
glibc-1c6e6f2315b343cbac94c2dd798a6ebb80489a12.zip
Remove some references to bcopy/bcmp/bzero.
Diffstat (limited to 'nis/nss_compat/compat-spwd.c')
-rw-r--r--nis/nss_compat/compat-spwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nis/nss_compat/compat-spwd.c b/nis/nss_compat/compat-spwd.c
index 1f4356cedd..73c2ed3fe0 100644
--- a/nis/nss_compat/compat-spwd.c
+++ b/nis/nss_compat/compat-spwd.c
@@ -532,7 +532,7 @@ getspent_next_file (struct spwd *result, ent_t *ent,
 	  char *user, *host, *domain;
 	  struct __netgrent netgrdata;
 
-	  bzero (&netgrdata, sizeof (struct __netgrent));
+	  memset (&netgrdata, 0, sizeof (struct __netgrent));
 	  __internal_setnetgrent (&result->sp_namp[2], &netgrdata);
 	  while (__internal_getnetgrent_r (&host, &user, &domain,
 					   &netgrdata, buf2, sizeof (buf2),