convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git] / src / afs / afs_user.c
index e40abd5..3935063 100644 (file)
@@ -479,7 +479,7 @@ struct unixuser *afs_GetUser(auid, acell, locktype)
 #ifndef AFS_NOSTATS
     afs_stats_cmfullperf.authent.PAGCreations++;
 #endif /* AFS_NOSTATS */
-    bzero((char *)tu, sizeof(struct unixuser));
+    memset((char *)tu, 0, sizeof(struct unixuser));
     tu->next = afs_users[i];
     afs_users[i] = tu;
     if (RmtUser) {