summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Mason <chris.mason@fusionio.com>2012-06-15 20:07:17 -0400
committerChris Mason <chris.mason@fusionio.com>2012-06-15 20:07:17 -0400
commita8c4a33b98b097e69cd1a10672c43d17ad0ffb25 (patch)
tree84dc64100b591a26b0be7d8a088d2a6889f2a776
parent4325edd0786fdd3909f9550e52a963b2fe54f78b (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>
-rw-r--r--fs/btrfs/ioctl.c3
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,
}
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;
}