drivers/mtd/sst25xx.c: Fix syslog formats
This commit is contained in:
parent
3ca8e3ff37
commit
2aaee783c9
1 changed files with 3 additions and 1 deletions
|
|
@ -48,6 +48,7 @@
|
|||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
|
|
@ -908,7 +909,8 @@ static int sst25xx_ioctl(FAR struct mtd_dev_s *dev, int cmd,
|
|||
|
||||
ret = OK;
|
||||
|
||||
finfo("blocksize: %d erasesize: %d neraseblocks: %d\n",
|
||||
finfo("blocksize: %" PRId32 " erasesize: %" PRId32
|
||||
" neraseblocks: %" PRId32 "\n",
|
||||
geo->blocksize, geo->erasesize, geo->neraseblocks);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue