commit | 7e249ebdae36ec773111c15e9980af23bd56292c | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Fri Nov 08 22:43:45 2019 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Fri Nov 08 22:43:45 2019 +0000 |
tree | d9eab85af735192f47b4a76f6216b50a9fa7d8bb | |
parent | 43f8298bddbf53fb4651ea6549184b907a3f2438 [diff] | |
parent | 081cf8efdbca60f525bf82d0601501e33fcf0302 [diff] |
Merge "Exfat Need to add automatic repair function when exfat fsck device"
diff --git a/fs/Exfat.cpp b/fs/Exfat.cpp index c624eb9..34f1024 100644 --- a/fs/Exfat.cpp +++ b/fs/Exfat.cpp
@@ -41,6 +41,7 @@ status_t Check(const std::string& source) { std::vector<std::string> cmd; cmd.push_back(kFsckPath); + cmd.push_back("-a"); cmd.push_back(source); int rc = ForkExecvp(cmd, nullptr, sFsckUntrustedContext);