mirror of
https://github.com/apache/nuttx.git
synced 2026-06-02 01:21:26 +08:00
w25qxxxjv.c: Use PRIxOFF to format off_t
Signed-off-by: Michael Jung <michael.jung@secore.ly>
This commit is contained in:
@@ -34,6 +34,7 @@
|
|||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <debug.h>
|
#include <debug.h>
|
||||||
|
#include <inttypes.h>
|
||||||
|
|
||||||
#include <nuttx/kmalloc.h>
|
#include <nuttx/kmalloc.h>
|
||||||
#include <nuttx/signal.h>
|
#include <nuttx/signal.h>
|
||||||
@@ -1006,8 +1007,8 @@ static int w25qxxxjv_write_page(struct w25qxxxjv_dev_s *priv,
|
|||||||
|
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
{
|
{
|
||||||
ferr("ERROR: QSPI_MEMORY failed writing address=%06jx\n",
|
ferr("ERROR: QSPI_MEMORY failed writing address=%06"PRIxOFF"\n",
|
||||||
(uintmax_t)address);
|
address);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user