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

Commit 5f4fb92b 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

Change-Id: I9697ad412eaecfebc9880127ebdf45f10a7b8fd4
parents 94280302 ee024b01
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();
}