diff options
Diffstat (limited to 'lib/fstree/test/add_by_path.c')
-rw-r--r-- | lib/fstree/test/add_by_path.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/fstree/test/add_by_path.c b/lib/fstree/test/add_by_path.c index b9f4b75..d59467c 100644 --- a/lib/fstree/test/add_by_path.c +++ b/lib/fstree/test/add_by_path.c @@ -13,10 +13,9 @@ static sqfs_dir_entry_t *mkentry(const char *name, sqfs_u16 mode, sqfs_u32 uid, sqfs_u32 gid) { - sqfs_dir_entry_t *ent = dir_entry_create(name); + sqfs_dir_entry_t *ent = sqfs_dir_entry_create(name, mode, 0); TEST_NOT_NULL(ent); - ent->mode = mode; ent->uid = uid; ent->gid = gid; return ent; |