am 3346da0a: am 33b190f6: Merge "build: update fs_config calls for capabilities change."

* commit '3346da0a93f60a7039581e48182be347dcceabec':
  build: update fs_config calls for capabilities change.
This commit is contained in:
Nick Kralevich 2013-02-22 18:31:43 -08:00 committed by Android Git Automerger
commit 4da8048647
2 changed files with 4 additions and 2 deletions

View file

@ -62,7 +62,8 @@ int main(int argc, char** argv) {
} }
unsigned uid = 0, gid = 0, mode = 0; unsigned uid = 0, gid = 0, mode = 0;
fs_config(buffer, is_dir, &uid, &gid, &mode); uint64_t capabilities;
fs_config(buffer, is_dir, &uid, &gid, &mode, &capabilities);
printf("%s %d %d %o\n", buffer, uid, gid, mode); printf("%s %d %d %o\n", buffer, uid, gid, mode);
} }
return 0; return 0;

View file

@ -57,7 +57,8 @@ main(int argc, const char *argv[])
if (!strcmp(argv[2], "1")) if (!strcmp(argv[2], "1"))
is_dir = 1; is_dir = 1;
fs_config(argv[3], is_dir, &uid, &gid, &perms); uint64_t capabilities;
fs_config(argv[3], is_dir, &uid, &gid, &perms, &capabilities);
fprintf(stdout, "%d %d 0%o\n", uid, gid, perms); fprintf(stdout, "%d %d 0%o\n", uid, gid, perms);
return 0; return 0;