pmt: fix all build issues etc (ndk)

This commit is contained in:
2024-10-03 22:00:12 +03:00
parent ee7b44b484
commit f88e9b013e
4 changed files with 28 additions and 21 deletions

View File

@@ -265,7 +265,11 @@ int Functions::Start(ushort_t progress_code)
/* generate mke2fs argument list */
VLOGD("PartitionManager: generating mke2fs argument list...\n");
char bsize[25] = "";
#ifdef __LP64__
sprintf(bsize, "%lu", file_sys_inf.f_bsize);
#else
sprintf(bsize, "%u", file_sys_inf.f_bsize);
#endif
char* arguments[] = {
"mke2fs-static",
"-Fq",