examples/mtdpart:fix compiling warning in printf.
Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
parent
2909e8d7a0
commit
5449126959
@ -221,7 +221,7 @@ int main(int argc, FAR char *argv[])
|
||||
partsize = nblocks * geo.blocksize;
|
||||
|
||||
printf(" No. partitions: %u\n", CONFIG_EXAMPLES_MTDPART_NPARTITIONS);
|
||||
printf(" Partition size: %ju Blocks (%lu bytes)\n", (uintmax_t)nblocks,
|
||||
printf(" Partition size: %ju Blocks (%zu bytes)\n", (uintmax_t)nblocks,
|
||||
partsize);
|
||||
|
||||
/* Now create MTD FLASH partitions */
|
||||
|
Loading…
Reference in New Issue
Block a user