Skip to content

Commit

Permalink
OpenZFS 9479 - fix wrong format specifier for vdev_id
Browse files Browse the repository at this point in the history
Authored by: Andriy Gapon <[email protected]>
Reviewed by: Matt Ahrens <[email protected]>
Reviewed by: Giuseppe Di Natale <[email protected]>
Reviewed by: George Melikov <[email protected]>
Ported-by: Brian Behlendorf <[email protected]>
Approved by: Robert Mustacchi <[email protected]>

OpenZFS-issue: https://www.illumos.org/issues/9479
OpenZFS-commit: openzfs/openzfs@20aa447c
Closes #7699
  • Loading branch information
avg-I authored and behlendorf committed Jul 11, 2018
1 parent ac09630 commit e902ddb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion module/zfs/vdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e902ddb

Please sign in to comment.