Commit a8c4a33b authored by Chris Mason's avatar Chris Mason

Btrfs: cast devid to unsigned long long for printk %llu

Avoid warning in 32 bit machines
Signed-off-by: default avatarChris Mason <chris.mason@fusionio.com>
parent 4325edd0
...@@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root, ...@@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
} }
if (device->fs_devices && device->fs_devices->seeding) { if (device->fs_devices && device->fs_devices->seeding) {
printk(KERN_INFO "btrfs: resizer unable to apply on " printk(KERN_INFO "btrfs: resizer unable to apply on "
"seeding device %llu\n", devid); "seeding device %llu\n",
(unsigned long long)devid);
ret = -EINVAL; ret = -EINVAL;
goto out_free; goto out_free;
} }
......
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