1
0
Fork 0

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>
hifive-unleashed-5.1
Chris Mason 2012-06-15 20:07:17 -04:00
parent 4325edd078
commit a8c4a33b98
1 changed files with 2 additions and 1 deletions

View File

@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
}
if (device->fs_devices && device->fs_devices->seeding) {
printk(KERN_INFO "btrfs: resizer unable to apply on "
"seeding device %llu\n", devid);
"seeding device %llu\n",
(unsigned long long)devid);
ret = -EINVAL;
goto out_free;
}