diff options
Diffstat (limited to 'libutil/logout.c')
-rw-r--r-- | libutil/logout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libutil/logout.c b/libutil/logout.c index 082579b8f..cf964e4dd 100644 --- a/libutil/logout.c +++ b/libutil/logout.c @@ -45,9 +45,9 @@ logout (const char *line) if( (ut = getutline(&tmp)) ) { /* Clear information about who & from where. */ - bzero (ut->ut_name, sizeof ut->ut_name); + memset (ut->ut_name, 0, sizeof ut->ut_name); #if _HAVE_UT_HOST - 0 - bzero (ut->ut_host, sizeof ut->ut_host); + memset (ut->ut_host, 0, sizeof ut->ut_host); #endif #if _HAVE_UT_TV - 0 gettimeofday (&ut->ut_tv, NULL); |