fs/spiffs/src/spiffs_vfs.c: Fix syslog formats
This commit is contained in:
parent
c0b4076d3b
commit
88bc46f4a6
@ -648,8 +648,8 @@ static ssize_t spiffs_write(FAR struct file *filep, FAR const char *buffer,
|
|||||||
off_t offset;
|
off_t offset;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
finfo("filep=%p buffer=%p buflen=%lu\n",
|
finfo("filep=%p buffer=%p buflen=%zu\n",
|
||||||
filep, buffer, (unsigned long)buflen);
|
filep, buffer, buflen);
|
||||||
DEBUGASSERT(filep->f_priv != NULL && filep->f_inode != NULL);
|
DEBUGASSERT(filep->f_priv != NULL && filep->f_inode != NULL);
|
||||||
|
|
||||||
/* Get the mountpoint inode reference from the file structure and the
|
/* Get the mountpoint inode reference from the file structure and the
|
||||||
@ -765,9 +765,10 @@ static ssize_t spiffs_write(FAR struct file *filep, FAR const char *buffer,
|
|||||||
offset_in_cpage = offset - fobj->cache_page->offset;
|
offset_in_cpage = offset - fobj->cache_page->offset;
|
||||||
|
|
||||||
spiffs_cacheinfo("Storing to cache page %d for fobj %d "
|
spiffs_cacheinfo("Storing to cache page %d for fobj %d "
|
||||||
"offset=%d:%d buflen=%d\n",
|
"offset=%jd:%jd buflen=%zu\n",
|
||||||
fobj->cache_page->cpndx, fobj->objid, offset,
|
fobj->cache_page->cpndx, fobj->objid,
|
||||||
offset_in_cpage, buflen);
|
(intmax_t)offset,
|
||||||
|
(intmax_t)offset_in_cpage, buflen);
|
||||||
|
|
||||||
cache = spiffs_get_cache(fs);
|
cache = spiffs_get_cache(fs);
|
||||||
cpage_data = spiffs_get_cache_page(fs, cache,
|
cpage_data = spiffs_get_cache_page(fs, cache,
|
||||||
|
Loading…
Reference in New Issue
Block a user