yaffs2: update fs_config calls for capabilities change.
Change-Id: I84b935f5e6ee5adb8bedaa8c70acca471d6af959
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 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)