drivers/mtd/ftl.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-22 09:34:19 +09:00 committed by Xiang Xiao
parent a0112eee4f
commit b48408cdeb
1 changed files with 3 additions and 3 deletions

View File

@ -208,7 +208,7 @@ static ssize_t ftl_read(FAR struct inode *inode, unsigned char *buffer,
{
FAR struct ftl_struct_s *dev;
finfo("sector: %d nsectors: %d\n", start_sector, nsectors);
finfo("sector: %zu nsectors: %d\n", start_sector, nsectors);
DEBUGASSERT(inode && inode->i_private);
@ -442,7 +442,7 @@ static ssize_t ftl_write(FAR struct inode *inode,
{
struct ftl_struct_s *dev;
finfo("sector: %d nsectors: %d\n", start_sector, nsectors);
finfo("sector: %zu nsectors: %d\n", start_sector, nsectors);
DEBUGASSERT(inode && inode->i_private);
dev = (struct ftl_struct_s *)inode->i_private;
@ -479,7 +479,7 @@ static int ftl_geometry(FAR struct inode *inode,
finfo("available: true mediachanged: false writeenabled: %s\n",
geometry->geo_writeenabled ? "true" : "false");
finfo("nsectors: %d sectorsize: %d\n",
finfo("nsectors: %zu sectorsize: %zu\n",
geometry->geo_nsectors, geometry->geo_sectorsize);
return OK;