avg-I commented on this pull request.


> @@ -159,7 +159,7 @@ vdev_dbgmsg_print_tree(vdev_t *vd, int indent)
        }
 
        zfs_dbgmsg("%*svdev %u: %s%s, guid: %llu, path: %s, %s", indent,
-           "", vd->vdev_id, vd->vdev_ops->vdev_op_type,
+           "", (int)vd->vdev_id, vd->vdev_ops->vdev_op_type,

I think that either can work, but just adding the int cast seemed like a 
simpler change.
And I cannot imagine a pool with billions of vdevs.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openzfs/openzfs/pull/623#discussion_r181656256
------------------------------------------
openzfs: openzfs-developer
Permalink: 
https://openzfs.topicbox.com/groups/developer/discussions/T2cb600ac138fbef6-Maaa8edcd2d14b8f7472706f2
Delivery options: https://openzfs.topicbox.com/groups

Reply via email to