mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
drivers/rwbuffer.c: Fix syslog formats
This commit is contained in:
committed by
Xiang Xiao
parent
7f32cfa720
commit
8e73a3ed4c
+5
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user