mirror of
https://github.com/apache/nuttx.git
synced 2026-09-24 08:45:04 +08:00
drivers/mtd/m25px.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
ab7ae96a1e
commit
723f590345
+3
-1
@@ -42,6 +42,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
@@ -1007,7 +1008,8 @@ static int m25p_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
||||
|
||||
ret = OK;
|
||||
|
||||
finfo("blocksize: %d erasesize: %d neraseblocks: %d\n",
|
||||
finfo("blocksize: %" PRId32 " erasesize: %" PRId32
|
||||
" neraseblocks: %" PRId32 "\n",
|
||||
geo->blocksize, geo->erasesize, geo->neraseblocks);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user