diff options
author | Nick Kralevich <nnk@google.com> | 2013-02-20 12:48:13 -0800 |
---|---|---|
committer | Nick Kralevich <nnk@google.com> | 2013-02-20 12:48:13 -0800 |
commit | 49cc2ffe1feae14951a7174625ba7269685a5357 (patch) | |
tree | 0cf4f4cdaf98d46818d8fa2d001d68e8a427f9bd /yaffs2 | |
parent | 1e0582c09b355c1722f31c8a790b4d69c792ce1c (diff) | |
download | yaffs2-49cc2ffe1feae14951a7174625ba7269685a5357.tar.gz |
yaffs2: update fs_config calls for capabilities change.
Change-Id: I84b935f5e6ee5adb8bedaa8c70acca471d6af959
Diffstat (limited to 'yaffs2')
-rw-r--r-- | yaffs2/utils/mkyaffs2image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yaffs2/utils/mkyaffs2image.c b/yaffs2/utils/mkyaffs2image.c index 8ab0e23..e131aa0 100644 --- a/yaffs2/utils/mkyaffs2image.c +++ b/yaffs2/utils/mkyaffs2image.c @@ -325,8 +325,9 @@ static int write_object_header(int objId, yaffs_ObjectType t, struct stat *s, in static void fix_stat(const char *path, struct stat *s) { + uint64_t capabilities; path += source_path_len; - fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &s->st_mode); + fs_config(path, S_ISDIR(s->st_mode), &s->st_uid, &s->st_gid, &s->st_mode, &capabilities); } static int process_directory(int parent, const char *path, int fixstats) |