summaryrefslogtreecommitdiff
path: root/libdiskfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-03-14 20:26:01 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-03-14 20:26:01 +0000
commit8bd32534808830ad8a6842a5f24f71b17fe46e14 (patch)
treed36cc218b5e0cdf428e5f56d5db76233522e9e6d /libdiskfs
parentf88d24f3afe66987167e029835e122a5cea90dad (diff)
entered into RCS
Diffstat (limited to 'libdiskfs')
-rw-r--r--libdiskfs/dir-init.c5
1 files changed, 3 insertions, 2 deletions
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)