瀏覽代碼

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>
Chris Mason 13 年之前
父節點
當前提交
a8c4a33b98
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      fs/btrfs/ioctl.c

+ 2 - 1
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;
 	}