OpenZFS 9479 - fix wrong format specifier for vdev_id
Authored by: Andriy Gapon <avg@FreeBSD.org> Reviewed by: Matt Ahrens <matt@delphix.com> Reviewed by: Giuseppe Di Natale <guss80@gmail.com> Reviewed by: George Melikov <mail@gmelikov.ru> Ported-by: Brian Behlendorf <behlendorf1@llnl.gov> Approved by: Robert Mustacchi <rm@joyent.com> OpenZFS-issue: https://www.illumos.org/issues/9479 OpenZFS-commit: https://github.com/openzfs/openzfs/commit/20aa447c Closes #7699
This commit is contained in:
parent
ac09630d8b
commit
e902ddb0f8
@ -156,7 +156,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,
|
||||
vd->vdev_islog ? " (log)" : "",
|
||||
(u_longlong_t)vd->vdev_guid,
|
||||
vd->vdev_path ? vd->vdev_path : "N/A", state);
|
||||
|
Loading…
Reference in New Issue
Block a user