summaryrefslogtreecommitdiff
path: root/lib/groupmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/groupmem.c')
-rw-r--r--lib/groupmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/groupmem.c b/lib/groupmem.c
index c18b5c64..c858b721 100644
--- a/lib/groupmem.c
+++ b/lib/groupmem.c
@@ -80,7 +80,7 @@ void gr_free (/*@out@*/ /*@only@*/struct group *grent)
{
free (grent->gr_name);
if (NULL != grent->gr_passwd) {
- memzero (grent->gr_passwd, strlen (grent->gr_passwd));
+ strzero (grent->gr_passwd);
free (grent->gr_passwd);
}
gr_free_members(grent);