w25qxxxjv.c: Use PRIxOFF to format off_t
Signed-off-by: Michael Jung <michael.jung@secore.ly>
This commit is contained in:
parent
0d28168679
commit
4ab8f9383d
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue