Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94c0d782 authored by forfun's avatar forfun Committed by android-build-merger
Browse files

Merge "modify a minor error in mount_with_alternatives Test: when called with...

Merge "modify a minor error in mount_with_alternatives Test: when called with end_idx = null" am: 3080ce2f am: d3435f5d am: 4d592aba
am: 7bda6501

Change-Id: I67f296774e14e1e08a3cfbf3370112dc0f957b0c
parents 8d9573d6 7bda6501
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -464,7 +464,7 @@ static int mount_with_alternatives(struct fstab *fstab, int start_idx, int *end_
    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;
    }