fs_backing_store: Do not use %jx because amigaos3 can't render it properly

Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org>
This commit is contained in:
Daniel Silverstone 2020-05-23 12:12:56 +01:00
parent af158650d8
commit 6d8b9a9bb4
No known key found for this signature in database
GPG Key ID: C30DF439F2987D74

View File

@ -1614,19 +1614,19 @@ static nserror store_write_block(struct store_state *state,
offst); offst);
if (wr != (ssize_t)bse->elem[elem_idx].size) { if (wr != (ssize_t)bse->elem[elem_idx].size) {
NSLOG(netsurf, ERROR, NSLOG(netsurf, ERROR,
"Write failed %"PRIssizet" of %d bytes from %p at 0x%jx block %d errno %d", "Write failed %"PRIssizet" of %d bytes from %p at 0x%"PRIsizet"x block %d errno %d",
wr, wr,
bse->elem[elem_idx].size, bse->elem[elem_idx].size,
bse->elem[elem_idx].data, bse->elem[elem_idx].data,
(uintmax_t)offst, (size_t)offst,
bse->elem[elem_idx].block, bse->elem[elem_idx].block,
errno); errno);
return NSERROR_SAVE_FAILED; return NSERROR_SAVE_FAILED;
} }
NSLOG(netsurf, INFO, NSLOG(netsurf, INFO,
"Wrote %"PRIssizet" bytes from %p at 0x%jx block %d", wr, "Wrote %"PRIssizet" bytes from %p at 0x%"PRIsizet"x block %d", wr,
bse->elem[elem_idx].data, (uintmax_t)offst, bse->elem[elem_idx].data, (size_t)offst,
bse->elem[elem_idx].block); bse->elem[elem_idx].block);
return NSERROR_OK; return NSERROR_OK;
@ -1784,19 +1784,19 @@ static nserror store_read_block(struct store_state *state,
offst); offst);
if (rd != (ssize_t)bse->elem[elem_idx].size) { if (rd != (ssize_t)bse->elem[elem_idx].size) {
NSLOG(netsurf, ERROR, NSLOG(netsurf, ERROR,
"Failed reading %"PRIssizet" of %d bytes into %p from 0x%jx block %d errno %d", "Failed reading %"PRIssizet" of %d bytes into %p from 0x%"PRIsizet"x block %d errno %d",
rd, rd,
bse->elem[elem_idx].size, bse->elem[elem_idx].size,
bse->elem[elem_idx].data, bse->elem[elem_idx].data,
(uintmax_t)offst, (size_t)offst,
bse->elem[elem_idx].block, bse->elem[elem_idx].block,
errno); errno);
return NSERROR_SAVE_FAILED; return NSERROR_SAVE_FAILED;
} }
NSLOG(netsurf, DEEPDEBUG, NSLOG(netsurf, DEEPDEBUG,
"Read %"PRIssizet" bytes into %p from 0x%jx block %d", rd, "Read %"PRIssizet" bytes into %p from 0x%"PRIsizet"x block %d", rd,
bse->elem[elem_idx].data, (uintmax_t)offst, bse->elem[elem_idx].data, (size_t)offst,
bse->elem[elem_idx].block); bse->elem[elem_idx].block);
return NSERROR_OK; return NSERROR_OK;