summaryrefslogtreecommitdiff
path: root/sys/dev/usb
diff options
context:
space:
mode:
authorpgoyette <pgoyette@NetBSD.org>2017-10-28 20:57:51 +0000
committerpgoyette <pgoyette@NetBSD.org>2017-10-28 20:57:51 +0000
commit5804a2863f1a63c427697fb06df8d450e29d69dd (patch)
tree42483dc2548cfb709cd26d252cace491af3981a6 /sys/dev/usb
parent8f8beeb48bd8b453c9fc3bec85837fda890143a4 (diff)
And yet another one. :(
Diffstat (limited to 'sys/dev/usb')
-rw-r--r--sys/dev/usb/umass.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index a203c30b934..557052d3cb7 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1,4 +1,4 @@
-/* $NetBSD: umass.c,v 1.161 2017/10/28 20:56:51 pgoyette Exp $ */
+/* $NetBSD: umass.c,v 1.162 2017/10/28 20:57: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.161 2017/10/28 20:56:51 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: umass.c,v 1.162 2017/10/28 20:57:51 pgoyette Exp $");
#ifdef _KERNEL_OPT
#include "opt_usb.h"
@@ -2015,8 +2015,8 @@ umass_dump_buffer(struct umass_softc *sc, uint8_t *buffer, int buflen,
UMASSHIST_FUNC(); UMASSHIST_CALLED();
int i;
- DPRINTFM(UDMASS_GEN, "sc %#jx: buffer %#jx", (uintptr_t)sc, buffer,
- 0, 0);
+ DPRINTFM(UDMASS_GEN, "sc %#jx: buffer %#jx", (uintptr_t)sc,
+ (uintptr_t)buffer, 0, 0);
for (i = 0; i < buflen && i < printlen;) {
if (i + 3 < buflen && i + 3 < printlen) {
DPRINTFM(UDMASS_GEN, " 0x%02jx%02jx%02jx%02jx",