summaryrefslogtreecommitdiff
path: root/lib/sgroupio.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/sgroupio.c')
-rw-r--r--lib/sgroupio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sgroupio.c b/lib/sgroupio.c
index cf01de7b..871749bd 100644
--- a/lib/sgroupio.c
+++ b/lib/sgroupio.c
@@ -128,7 +128,7 @@ void sgr_free (/*@out@*/ /*@only@*/struct sgrp *sgent)
size_t i;
free (sgent->sg_name);
if (NULL != sgent->sg_passwd) {
- memzero (sgent->sg_passwd, strlen (sgent->sg_passwd));
+ strzero (sgent->sg_passwd);
free (sgent->sg_passwd);
}
for (i = 0; NULL != sgent->sg_adm[i]; i++) {