commit | 3080ce2fe4c4d82deb7b89b30e3c839528b23c3d | [log] [tgz] |
---|---|---|
author | Treehugger Robot <treehugger-gerrit@google.com> | Tue Dec 20 02:08:35 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Dec 20 02:08:36 2016 +0000 |
tree | c744c6dbf1209f0377318cf3bcd081575f351191 | |
parent | 27425fd80d4c92c2a5074eb2c3305f5f5c17cdb5 [diff] | |
parent | c5c03064247192f6e866874274f7fa9ab8a6dfd0 [diff] |
Merge "modify a minor error in mount_with_alternatives Test: when called with end_idx = null"
diff --git a/fs_mgr/fs_mgr.c b/fs_mgr/fs_mgr.c index 6e6d69f..ba44a5a 100644 --- a/fs_mgr/fs_mgr.c +++ b/fs_mgr/fs_mgr.c
@@ -464,7 +464,7 @@ if (!end_idx || !attempted_idx || start_idx >= fstab->num_entries) { errno = EINVAL; if (end_idx) *end_idx = start_idx; - if (attempted_idx) *end_idx = start_idx; + if (attempted_idx) *attempted_idx = start_idx; return -1; }