convert-from-bsd-to-posix-string-and-memory-functions-20010807
[openafs.git] / src / login / util_logout.c
index 046c5a2..161b71d 100644 (file)
@@ -54,9 +54,9 @@ logout(line)
                if (!ut.ut_name[0] ||
                    strncmp(ut.ut_line, line, sizeof(ut.ut_line)))
                        continue;
-               bzero(ut.ut_name, sizeof(ut.ut_name));
+               memset(ut.ut_name, 0, sizeof(ut.ut_name));
 #if    !defined(AIX) && !defined(AFS_SUN5_ENV)
-               bzero(ut.ut_host, sizeof(ut.ut_host));
+               memset(ut.ut_host, 0, sizeof(ut.ut_host));
 #endif /* AIX */
                (void)time(&ut.ut_time);
                (void)fseek(fp, (long)-sizeof(struct utmp), L_INCR);