Merge "fs_mgr: Fix ZRAM error when ZRAM disk size beyond (2^31-1) bytes"
This commit is contained in:
commit
28c11dcff4
1 changed files with 1 additions and 1 deletions
|
|
@ -1195,7 +1195,7 @@ int fs_mgr_swapon_all(struct fstab *fstab)
|
||||||
ret = -1;
|
ret = -1;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
fprintf(zram_fp, "%d\n", fstab->recs[i].zram_size);
|
fprintf(zram_fp, "%u\n", fstab->recs[i].zram_size);
|
||||||
fclose(zram_fp);
|
fclose(zram_fp);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue