svn commit: r295919 - head/sys/dev/hyperv/storvsc

Sepherosa Ziehau sephe at FreeBSD.org
Tue Feb 23 09:29:47 UTC 2016


Author: sephe
Date: Tue Feb 23 09:29:45 2016
New Revision: 295919
URL: https://svnweb.freebsd.org/changeset/base/295919

Log:
  hyperv/stor: Fix print format
  
  Detected by:	PVS Static Analysis
  MFC after:	1 week
  Sponsored by:	Microsoft OSTC
  Differential Revision:	https://reviews.freebsd.org/D5388

Modified:
  head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c

Modified: head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c
==============================================================================
--- head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Tue Feb 23 09:25:20 2016	(r295918)
+++ head/sys/dev/hyperv/storvsc/hv_storvsc_drv_freebsd.c	Tue Feb 23 09:29:45 2016	(r295919)
@@ -810,8 +810,8 @@ hv_storvsc_rescan_target(struct storvsc_
 
 	if (xpt_create_path(&ccb->ccb_h.path, NULL, pathid, targetid,
 	    CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
-		printf("unable to create path for rescan, pathid: %d,"
-		    "targetid: %d\n", pathid, targetid);
+		printf("unable to create path for rescan, pathid: %u,"
+		    "targetid: %u\n", pathid, targetid);
 		xpt_free_ccb(ccb);
 		return;
 	}


More information about the svn-src-all mailing list