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

Commit cb52a0c7 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "snapshot_test: Fix overflow in statvfs arithmetics" am: ee024b01 am: 5f4fb92b

Change-Id: I62babbcd9d973187697917f7c1094f6c15dac86f
parents e0ef01e6 5f4fb92b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -212,8 +212,8 @@ AssertionResult LowSpaceUserdata::ReadUserdataStats() {
        return AssertionFailure() << strerror(errno);
    }
    bsize_ = buf.f_bsize;
    free_space_ = buf.f_bsize * buf.f_bfree;
    available_space_ = buf.f_bsize * buf.f_bavail;
    free_space_ = bsize_ * buf.f_bfree;
    available_space_ = bsize_ * buf.f_bavail;
    return AssertionSuccess();
}