mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
projects/fuse2: build fixes
* Fix the kernel build with gcc by removing a redundant extern declaration * In the tests, fix a printf format specifier that assumed LP64 Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
7e1f5432f4
commit
97b0512b23
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/projects/fuse2/; revision=349970
@ -95,7 +95,6 @@ struct mtx fuse_mtx;
|
||||
extern struct vfsops fuse_vfsops;
|
||||
extern struct cdevsw fuse_cdevsw;
|
||||
extern struct vop_vector fuse_fifonops;
|
||||
extern struct vop_vector fuse_vnops;
|
||||
extern uma_zone_t fuse_pbuf_zone;
|
||||
|
||||
static struct vfsconf fuse_vfsconf = {
|
||||
|
@ -169,8 +169,8 @@ void MockFS::debug_request(const mockfs_buf_in &in)
|
||||
printf(" mask=%#x", in.body.access.mask);
|
||||
break;
|
||||
case FUSE_BMAP:
|
||||
printf(" block=%#lx blocksize=%#x", in.body.bmap.block,
|
||||
in.body.bmap.blocksize);
|
||||
printf(" block=%" PRIx64 " blocksize=%#x",
|
||||
in.body.bmap.block, in.body.bmap.blocksize);
|
||||
break;
|
||||
case FUSE_CREATE:
|
||||
if (m_kernel_minor_version >= 12)
|
||||
|
Loading…
Reference in New Issue
Block a user