drivers/rwbuffer.c: Fix syslog formats

This commit is contained in:
YAMAMOTO Takashi 2020-11-23 13:25:44 +09:00 committed by Xiang Xiao
parent 7f32cfa720
commit 8e73a3ed4c

View file

@ -25,6 +25,7 @@
#include <nuttx/config.h>
#include <sys/types.h>
#include <inttypes.h>
#include <stdint.h>
#include <stdbool.h>
#include <stdlib.h>
@ -535,7 +536,8 @@ int rwb_invalidate_writebuffer(FAR struct rwbuffer_s *rwb,
off_t wrbend;
off_t invend;
finfo("startblock=%d blockcount=%p\n", startblock, blockcount);
finfo("startblock=%jd blockcount=%zu\n",
(intmax_t)startblock, blockcount);
ret = rwb_semtake(&rwb->wrsem);
if (ret < 0)
@ -676,7 +678,8 @@ int rwb_invalidate_readahead(FAR struct rwbuffer_s *rwb,
off_t rhbend;
off_t invend;
finfo("startblock=%d blockcount=%p\n", startblock, blockcount);
finfo("startblock=%jd blockcount=%zu\n",
(intmax_t)startblock, blockcount);
ret = rwb_semtake(&rwb->rhsem);
if (ret < 0)