diff options
-rw-r--r-- | lib/compress.c | 5 | ||||
-rw-r--r-- | lib/inode.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/lib/compress.c b/lib/compress.c index a977c87..1919609 100644 --- a/lib/compress.c +++ b/lib/compress.c @@ -457,8 +457,9 @@ int erofs_write_compressed_file(struct erofs_inode *inode) ret = erofs_bh_balloon(bh, blknr_to_addr(compressed_blocks)); DBG_BUGON(ret); - erofs_info("compressed %s (%lu bytes) into %u blocks", - inode->i_srcpath, inode->i_size, compressed_blocks); + erofs_info("compressed %s (%llu bytes) into %u blocks", + inode->i_srcpath, (unsigned long long)inode->i_size, + compressed_blocks); /* * TODO: need to move erofs_bdrop to erofs_write_tail_end diff --git a/lib/inode.c b/lib/inode.c index 141a300..e3495f4 100644 --- a/lib/inode.c +++ b/lib/inode.c @@ -789,8 +789,9 @@ fail: d->type = erofs_type_by_mode[d->inode->i_mode >> S_SHIFT]; erofs_d_invalidate(d); - erofs_info("add file %s/%s (nid %lu, type %d)", - dir->i_srcpath, d->name, d->nid, d->type); + erofs_info("add file %s/%s (nid %llu, type %d)", + dir->i_srcpath, d->name, (unsigned long long)d->nid, + d->type); } erofs_write_dir_file(dir); erofs_write_tail_end(dir); |