w25qxxxjv.c: Use PRIxOFF to format off_t

Signed-off-by: Michael Jung <michael.jung@secore.ly>
This commit is contained in:
Michael Jung 2022-07-29 09:22:09 +02:00 committed by Xiang Xiao
parent 0d28168679
commit 4ab8f9383d
1 changed files with 3 additions and 2 deletions

View File

@ -34,6 +34,7 @@
#include <assert.h>
#include <errno.h>
#include <debug.h>
#include <inttypes.h>
#include <nuttx/kmalloc.h>
#include <nuttx/signal.h>
@ -1006,8 +1007,8 @@ static int w25qxxxjv_write_page(struct w25qxxxjv_dev_s *priv,
if (ret < 0)
{
ferr("ERROR: QSPI_MEMORY failed writing address=%06jx\n",
(uintmax_t)address);
ferr("ERROR: QSPI_MEMORY failed writing address=%06"PRIxOFF"\n",
address);
return ret;
}