summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-lookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdiskfs/dir-lookup.c b/libdiskfs/dir-lookup.c
index a9d3133e..cc9ce52c 100644
--- a/libdiskfs/dir-lookup.c
+++ b/libdiskfs/dir-lookup.c
@@ -176,8 +176,8 @@ diskfs_S_dir_lookup (struct protid *dircred,
&& np != dnp)
{
mach_port_t control;
- uid_t *uids = 0, *gids;
- int nuids, ngids;
+ uid_t *uids = 0, *gids = 0;
+ int nuids = 0, ngids = 0;
file_t dirfile = MACH_PORT_NULL;
/* Be very careful not to hold an inode lock while fetching