am a0f02fa9: Merge "Fix the fs_config call."

* commit 'a0f02fa9e3ca779ed69264fc0977f530328c3f15':
  Fix the fs_config call.
This commit is contained in:
Elliott Hughes 2015-08-25 18:15:53 +00:00 committed by Android Git Automerger
commit 068ee4d03f
1 changed files with 1 additions and 1 deletions

View File

@ -305,7 +305,7 @@ static bool do_send(int s, const std::string& spec, std::vector<char>& buffer) {
gid_t gid = -1;
uint64_t cap = 0;
if (should_use_fs_config(path)) {
unsigned int broken_api_hack;
unsigned int broken_api_hack = mode;
fs_config(path.c_str(), 0, &uid, &gid, &broken_api_hack, &cap);
mode = broken_api_hack;
}