Merge "fs_mgr: Fix ZRAM error when ZRAM disk size beyond (2^31-1) bytes"

This commit is contained in:
Treehugger Robot 2017-06-01 17:21:29 +00:00 committed by Gerrit Code Review
commit 28c11dcff4
1 changed files with 1 additions and 1 deletions

View File

@ -1195,7 +1195,7 @@ int fs_mgr_swapon_all(struct fstab *fstab)
ret = -1;
continue;
}
fprintf(zram_fp, "%d\n", fstab->recs[i].zram_size);
fprintf(zram_fp, "%u\n", fstab->recs[i].zram_size);
fclose(zram_fp);
}