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

Commit 98b50774 authored by Marco Nelissen's avatar Marco Nelissen Committed by Android Git Automerger
Browse files

am 3755dbec: am 3d3cc6e1: Merge "Report actual disk space used" into jb-mr2-dev

* commit '3755dbec':
  Report actual disk space used
parents 192fa1f9 3755dbec
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -24,7 +24,8 @@
int64_t stat_size(struct stat *s)
{
    int64_t blksize = s->st_blksize;
    int64_t size = s->st_size;
    // count actual blocks used instead of nominal file size
    int64_t size = s->st_blocks * 512;

    if (blksize) {
        /* round up to filesystem block size */