Module Name:    src
Committed By:   pgoyette
Date:           Sat Oct 28 20:56:51 UTC 2017

Modified Files:
        src/sys/dev/usb: umass.c

Log Message:
Misssed one cast of pointer --> uintptr_t in previous kernhist(9) commit


To generate a diff of this commit:
cvs rdiff -u -r1.160 -r1.161 src/sys/dev/usb/umass.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/dev/usb/umass.c
diff -u src/sys/dev/usb/umass.c:1.160 src/sys/dev/usb/umass.c:1.161
--- src/sys/dev/usb/umass.c:1.160	Sat Oct 28 00:37:12 2017
+++ src/sys/dev/usb/umass.c	Sat Oct 28 20:56:51 2017
@@ -1,4 +1,4 @@
-/*	$NetBSD: umass.c,v 1.160 2017/10/28 00:37:12 pgoyette Exp $	*/
+/*	$NetBSD: umass.c,v 1.161 2017/10/28 20:56:51 pgoyette Exp $	*/
 
 /*
  * Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -124,7 +124,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.160 2017/10/28 00:37:12 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.161 2017/10/28 20:56:51 pgoyette Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_usb.h"
@@ -1982,7 +1982,8 @@ umass_bbb_dump_cbw(struct umass_softc *s
 	int tag = UGETDW(cbw->dCBWTag);
 	int flags = cbw->bCBWFlags;
 
-	DPRINTFM(UDMASS_BBB, "sc %#jx: CBW %jd: cmdlen=%jd", sc, tag, clen, 0);
+	DPRINTFM(UDMASS_BBB, "sc %#jx: CBW %jd: cmdlen=%jd",
+	    (uintptr_t)sc, tag, clen, 0);
 	DPRINTFM(UDMASS_BBB, "  0x%02jx%02jx%02jx%02jx...",
 	    c[0], c[1], c[2], c[3]);
 	DPRINTFM(UDMASS_BBB, "  0x%02jx%02jx%02jx%02jx...",

Reply via email to