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