mirror of
https://github.com/apache/nuttx.git
synced 2026-05-25 09:45:55 +08:00
drivers/mtd/at24xx.c: Fix a syslog format
This commit is contained in:
committed by
Xiang Xiao
parent
99f545f5c3
commit
819e13888c
@@ -49,6 +49,7 @@
|
||||
#include <nuttx/config.h>
|
||||
|
||||
#include <sys/types.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
@@ -594,7 +595,8 @@ static int at24c_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
||||
#endif
|
||||
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