summaryrefslogtreecommitdiff
path: root/auth/auth.c
diff options
context:
space:
mode:
Diffstat (limited to 'auth/auth.c')
-rw-r--r--auth/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/auth/auth.c b/auth/auth.c
index 7d35bd37..c36bcb20 100644
--- a/auth/auth.c
+++ b/auth/auth.c
@@ -59,7 +59,7 @@ create_authhandle (struct authhandle **new)
error_t err = ports_create_port (authhandle_portclass, auth_bucket,
sizeof **new, new);
if (! err)
- bzero (&(*new)->euids, (void *) &(*new)[1] - (void *) &(*new)->euids);
+ memset (&(*new)->euids, 0, (void *)&(*new)[1] - (void *)&(*new)->euids);
return err;
}