Commit 820dbc21 authored by David S. Miller's avatar David S. Miller

[FREEVXFS]: Fix u64 printk warnings on some 64-bit platforms.

parent 3ff02490
......@@ -167,7 +167,9 @@ vxfs_bmap_indir(struct inode *ip, long indir, int size, long block)
printk(KERN_INFO "\n\nTYPED_DEV4 detected!\n");
printk(KERN_INFO "block: %Lu\tsize: %Ld\tdev: %d\n",
typ4->vd4_block, typ4->vd4_size, typ4->vd4_dev);
(unsigned long long) typ4->vd4_block,
(unsigned long long) typ4->vd4_size,
typ4->vd4_dev);
goto fail;
}
default:
......@@ -228,7 +230,9 @@ vxfs_bmap_typed(struct inode *ip, long iblock)
printk(KERN_INFO "\n\nTYPED_DEV4 detected!\n");
printk(KERN_INFO "block: %Lu\tsize: %Ld\tdev: %d\n",
typ4->vd4_block, typ4->vd4_size, typ4->vd4_dev);
(unsigned long long) typ4->vd4_block,
(unsigned long long) typ4->vd4_size,
typ4->vd4_dev);
return 0;
}
default:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment