mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 13:52:22 +08:00
drivers/mtd/gd25.c: fix finfo format warning
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
This commit is contained in:
committed by
Xiang Xiao
parent
80f9fe39bb
commit
66bdec6754
+3
-2
@@ -26,7 +26,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include <stdint.h>
|
||||
#include <inttypes.h>
|
||||
#include <stdbool.h>
|
||||
#include <stdlib.h>
|
||||
#include <unistd.h>
|
||||
@@ -938,7 +938,8 @@ static int gd25_ioctl(FAR struct mtd_dev_s *dev, int cmd, unsigned long arg)
|
||||
geo->neraseblocks = priv->nsectors;
|
||||
ret = OK;
|
||||
|
||||
finfo("blocksize: %d erasesize: %d neraseblocks: %d\n",
|
||||
finfo("blocksize: %" PRIu32 " erasesize: %" PRIu32
|
||||
" neraseblocks: %" PRIu32 "\n",
|
||||
geo->blocksize, geo->erasesize, geo->neraseblocks);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user