commit | a0f02fa9e3ca779ed69264fc0977f530328c3f15 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Aug 25 18:11:06 2015 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Aug 25 18:11:06 2015 +0000 |
tree | 7f9181d4a19696f3bcc92e8112b62af496ddd794 | |
parent | 61ab1618a8347c503e9185a4d17b957e367bac1b [diff] | |
parent | 7baecbe6a372a23f86de9360ea96d86cbe6280e1 [diff] |
Merge "Fix the fs_config call."
diff --git a/adb/file_sync_service.cpp b/adb/file_sync_service.cpp index abf1c02..cadf5b3 100644 --- a/adb/file_sync_service.cpp +++ b/adb/file_sync_service.cpp
@@ -305,7 +305,7 @@ 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; }