diff options
author | Chris Mason <chris.mason@fusionio.com> | 2012-06-15 20:07:17 -0400 |
---|---|---|
committer | Chris Mason <chris.mason@fusionio.com> | 2012-06-15 20:07:17 -0400 |
commit | a8c4a33b98b097e69cd1a10672c43d17ad0ffb25 (patch) | |
tree | 84dc64100b591a26b0be7d8a088d2a6889f2a776 /fs | |
parent | 4325edd0786fdd3909f9550e52a963b2fe54f78b (diff) |
Btrfs: cast devid to unsigned long long for printk %llu
Avoid warning in 32 bit machines
Signed-off-by: Chris Mason <chris.mason@fusionio.com>
Diffstat (limited to 'fs')
-rw-r--r-- | fs/btrfs/ioctl.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/btrfs/ioctl.c b/fs/btrfs/ioctl.c index 58adbd0356d6..0e92e5763005 100644 --- a/fs/btrfs/ioctl.c +++ b/fs/btrfs/ioctl.c | |||
@@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root, | |||
1308 | } | 1308 | } |
1309 | if (device->fs_devices && device->fs_devices->seeding) { | 1309 | if (device->fs_devices && device->fs_devices->seeding) { |
1310 | printk(KERN_INFO "btrfs: resizer unable to apply on " | 1310 | printk(KERN_INFO "btrfs: resizer unable to apply on " |
1311 | "seeding device %llu\n", devid); | 1311 | "seeding device %llu\n", |
1312 | (unsigned long long)devid); | ||
1312 | ret = -EINVAL; | 1313 | ret = -EINVAL; |
1313 | goto out_free; | 1314 | goto out_free; |
1314 | } | 1315 | } |