aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/vdev.c
diff options
context:
space:
mode:
authorAndriy Gapon <[email protected]>2018-04-16 10:08:13 +0300
committerBrian Behlendorf <[email protected]>2018-07-11 15:53:02 -0700
commite902ddb0f8c57ac8d5b7d64edc687a022d0b9b7f (patch)
tree7e61e0093d847bcc8a8160746ddcbdd13c7bd76b /module/zfs/vdev.c
parentac09630d8b0bf6c92084a30fdaefd03fd0adbdc1 (diff)
OpenZFS 9479 - fix wrong format specifier for vdev_id
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: https://github.com/openzfs/openzfs/commit/20aa447c Closes #7699
Diffstat (limited to 'module/zfs/vdev.c')
-rw-r--r--module/zfs/vdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zfs/vdev.c b/module/zfs/vdev.c
index a2f1f0658..6db6fbacb 100644
--- a/module/zfs/vdev.c
+++ b/module/zfs/vdev.c
@@ -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);