mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 07:28:38 +08:00
drivers/rwbuffer.c: Fix syslog formats
This commit is contained in:
parent
7f32cfa720
commit
8e73a3ed4c
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue