From 8bd32534808830ad8a6842a5f24f71b17fe46e14 Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Mon, 14 Mar 1994 20:26:01 +0000 Subject: entered into RCS --- libdiskfs/dir-init.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'libdiskfs/dir-init.c') diff --git a/libdiskfs/dir-init.c b/libdiskfs/dir-init.c index d7162253..21ea7e3c 100644 --- a/libdiskfs/dir-init.c +++ b/libdiskfs/dir-init.c @@ -29,8 +29,9 @@ diskfs_init_dir (struct node *dp, struct node *pdp, struct protid *cred) struct node *foo; error_t err; static uid_t zero = 0; - static struct protid lookupcred = {uids: &zero, gids: &zero, - nuids: 1, ngids: 1}; + static struct protid lookupcred = {{0, 0, 0, 0}, + &zero, &zero, 1, 1, + 0, 0}; /* New links */ if (pdp->dn_stat.st_nlink == diskfs_link_max - 1) -- cgit v1.2.3