fs/romfs/fs_romfsutil.c: Fix syslog formats
This commit is contained in:
parent
67fbbf935b
commit
13e55ce0d4
@ -27,6 +27,7 @@
|
|||||||
#include <nuttx/config.h>
|
#include <nuttx/config.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|
||||||
|
#include <inttypes.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -416,7 +417,8 @@ int romfs_filecacheread(struct romfs_mountpt_s *rm, struct romfs_file_s *rf,
|
|||||||
{
|
{
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
finfo("sector: %d cached: %d sectorsize: %d XIP base: %p buffer: %p\n",
|
finfo("sector: %" PRId32 " cached: %" PRId32
|
||||||
|
" sectorsize: %d XIP base: %p buffer: %p\n",
|
||||||
sector, rf->rf_cachesector, rm->rm_hwsectorsize,
|
sector, rf->rf_cachesector, rm->rm_hwsectorsize,
|
||||||
rm->rm_xipbase, rf->rf_buffer);
|
rm->rm_xipbase, rf->rf_buffer);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user