forked from openkylin/platform_build
build: update fs_config calls for capabilities change.
Change-Id: Ic3c94f990c34a56d84f01c151f1b64f419e16419
This commit is contained in:
parent
cdacb37806
commit
fa798096fd
|
@ -62,7 +62,8 @@ int main(int argc, char** argv) {
|
|||
}
|
||||
|
||||
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);
|
||||
}
|
||||
return 0;
|
||||
|
|
|
@ -57,7 +57,8 @@ main(int argc, const char *argv[])
|
|||
if (!strcmp(argv[2], "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);
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue