From 7444ba20868a327f35ffa32095b44b1f9ecd0a74 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Thu, 2 Aug 2018 21:52:47 +0000 Subject: [PATCH] 9479 fix wrong format specifier for vdev_id illumos/illumos-gate@c7a7b2fa084facd68c3d1e860dfabe20c713877b Reviewed by: Matt Ahrens Approved by: Robert Mustacchi Author: Andriy Gapon --- uts/common/fs/zfs/vdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uts/common/fs/zfs/vdev.c b/uts/common/fs/zfs/vdev.c index db2d12db9691..43c6e4c9a15c 100644 --- a/uts/common/fs/zfs/vdev.c +++ b/uts/common/fs/zfs/vdev.c @@ -168,7 +168,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);