Replace bzero by memset, bcopy by memcpy and bcmp by memcmp to clean
authordrepper <drepper>
Fri, 11 Apr 1997 09:36:38 +0000 (09:36 +0000)
committerdrepper <drepper>
Fri, 11 Apr 1997 09:36:38 +0000 (09:36 +0000)
up namespace.

nis/nss_compat/compat-pwd.c

index 1a80355..194b332 100644 (file)
@@ -332,7 +332,7 @@ getpwent_next_nis_netgr (struct passwd *result, ent_t *ent, char *group,
 
   if (ent->first == TRUE)
     {
-      bzero (&ent->netgrdata, sizeof (struct __netgrent));
+      memset (&ent->netgrdata, 0, sizeof (struct __netgrent));
       __internal_setnetgrent (group, &ent->netgrdata);
       ent->first = FALSE;
     }