Skip to content

Commit a8c4a33

Browse files
author
Chris Mason
committed
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>
1 parent 4325edd commit a8c4a33

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

fs/btrfs/ioctl.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1308,7 +1308,8 @@ static noinline int btrfs_ioctl_resize(struct btrfs_root *root,
13081308
}
13091309
if (device->fs_devices && device->fs_devices->seeding) {
13101310
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);
13121313
ret = -EINVAL;
13131314
goto out_free;
13141315
}

0 commit comments

Comments
 (0)