diff --git a/fs_mgr/fs_mgr.cpp b/fs_mgr/fs_mgr.cpp index 73bdc7a43..84981bfae 100644 --- a/fs_mgr/fs_mgr.cpp +++ b/fs_mgr/fs_mgr.cpp @@ -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); }