diff options
author | Gleb Kurtsou <gleb@FreeBSD.org> | 2014-12-17 07:27:19 +0000 |
---|---|---|
committer | Gleb Kurtsou <gleb@FreeBSD.org> | 2014-12-17 07:27:19 +0000 |
commit | dde58752dbf08343d9b74b48ffabedbf5ca2e7e8 (patch) | |
tree | 49e07a33f717fc11a77f96d21126c8dd675b430b /sys/fs/ext2fs/ext2_vnops.c | |
parent | 9b3370541180604458bbc768f3fa6839ed4d938e (diff) | |
download | src-dde58752dbf08343d9b74b48ffabedbf5ca2e7e8.tar.gz src-dde58752dbf08343d9b74b48ffabedbf5ca2e7e8.zip |
Adjust printf format specifiers for dev_t and ino_t in kernel.
ino_t and dev_t are about to become uint64_t.
Reviewed by: kib, mckusick
Notes
Notes:
svn path=/head/; revision=275856
Diffstat (limited to 'sys/fs/ext2fs/ext2_vnops.c')
-rw-r--r-- | sys/fs/ext2fs/ext2_vnops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/fs/ext2fs/ext2_vnops.c b/sys/fs/ext2fs/ext2_vnops.c index 06173b1060e5..899ae7970d68 100644 --- a/sys/fs/ext2fs/ext2_vnops.c +++ b/sys/fs/ext2fs/ext2_vnops.c @@ -1366,7 +1366,7 @@ ext2_print(struct vop_print_args *ap) struct vnode *vp = ap->a_vp; struct inode *ip = VTOI(vp); - vn_printf(ip->i_devvp, "\tino %lu", (u_long)ip->i_number); + vn_printf(ip->i_devvp, "\tino %ju", (uintmax_t)ip->i_number); if (vp->v_type == VFIFO) fifo_printinfo(vp); printf("\n"); |