Skip to content

Commit

Permalink
Btrfs: cast devid to unsigned long long for printk %llu
Browse files Browse the repository at this point in the history
Avoid warning in 32 bit machines

Signed-off-by: Chris Mason <[email protected]>
  • Loading branch information
Chris Mason committed Jun 16, 2012
1 parent 4325edd commit a8c4a33
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion fs/btrfs/ioctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a8c4a33

Please sign in to comment.