about summary refs log tree commit diff
path: root/nscd/pwdcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'nscd/pwdcache.c')
-rw-r--r--nscd/pwdcache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nscd/pwdcache.c b/nscd/pwdcache.c
index e2bf73afc1..9b7c0a040a 100644
--- a/nscd/pwdcache.c
+++ b/nscd/pwdcache.c
@@ -110,7 +110,7 @@ cache_pwdinit ()
   pwdtbl = calloc (modulo, sizeof (pwdhash));
   if (pwdtbl == NULL)
     return -1;
-  uidtbl = calloc (modulo, sizeof (pwdhash));
+  uidtbl = calloc (modulo, sizeof (uidhash));
   if (uidtbl == NULL)
     return -1;
   negtbl = calloc (modulo, sizeof (neghash));