Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Aug 2018 21:52:47 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-vendor@freebsd.org
Subject:   svn commit: r337187 - vendor-sys/illumos/dist/uts/common/fs/zfs
Message-ID:  <201808022152.w72Lqlvh064746@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Thu Aug  2 21:52:47 2018
New Revision: 337187
URL: https://svnweb.freebsd.org/changeset/base/337187

Log:
  9479 fix wrong format specifier for vdev_id
  
  illumos/illumos-gate@c7a7b2fa084facd68c3d1e860dfabe20c713877b
  
  Reviewed by: Matt Ahrens <matt@delphix.com>
  Approved by: Robert Mustacchi <rm@joyent.com>
  Author:     Andriy Gapon <avg@FreeBSD.org>

Modified:
  vendor-sys/illumos/dist/uts/common/fs/zfs/vdev.c

Modified: vendor-sys/illumos/dist/uts/common/fs/zfs/vdev.c
==============================================================================
--- vendor-sys/illumos/dist/uts/common/fs/zfs/vdev.c	Thu Aug  2 21:33:45 2018	(r337186)
+++ vendor-sys/illumos/dist/uts/common/fs/zfs/vdev.c	Thu Aug  2 21:52:47 2018	(r337187)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808022152.w72Lqlvh064746>