aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--genext2fs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/genext2fs.c b/genext2fs.c
index 11c9c37..f786b5a 100644
--- a/genext2fs.c
+++ b/genext2fs.c
@@ -1645,8 +1645,9 @@ prep_stat(const char *root_path)
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);
}
// adds a tree of entries to the filesystem from current dir