Coverity-id: 647268
Signed-off-by: Gao Xiang <[email protected]>
---
lib/blobchunk.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lib/blobchunk.c b/lib/blobchunk.c
index d3f922d37739..0523873570a2 100644
--- a/lib/blobchunk.c
+++ b/lib/blobchunk.c
@@ -361,8 +361,9 @@ int erofs_blob_write_chunked_file(struct erofs_inode
*inode, int fd,
erofs_strerror(ret));
goto err;
}
- erofs_dbg("Align /%s on block #%d (0x%llx)",
- erofs_fspath(inode->i_srcpath), erofs_blknr(sbi,
off), off);
+ erofs_dbg("Align /%s on block #%llu (0x%llx)",
+ erofs_fspath(inode->i_srcpath),
+ erofs_blknr(sbi, off) | 0ULL, off);
}
for (pos = 0; pos < inode->i_size; pos += len) {
--
2.43.5