aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2013-02-20 12:50:15 -0800
committerNick Kralevich <nnk@google.com>2013-02-20 12:50:15 -0800
commite3be79ff7978674e280fec2f6e77c450a4b95e81 (patch)
treea82666812769bcce01c892e07909dd75e1db6d03
parent2e672fab1b8935ab6df5c2fc69386fe6b4ade873 (diff)
downloadgenext2fs-e3be79ff7978674e280fec2f6e77c450a4b95e81.tar.gz
genext2fs: update fs_config calls for capabilities change.
Change-Id: Ib5c903c73d3d8972794e8e3dc596bf71ec0065db
-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