summaryrefslogtreecommitdiff
path: root/sys/dev/usb/umass.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-05-07 04:33:34 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-05-07 04:33:34 +0000
commit7d54a043f02a9ab000b00d79cd05c57c3543c898 (patch)
treecbc6051f13ebeeefabb297beec35034d1ef9b14e /sys/dev/usb/umass.c
parenta8b5a2d4375a4434a0a6db9a4327408aee37ac3c (diff)
string cleanup; nate ok
Diffstat (limited to 'sys/dev/usb/umass.c')
-rw-r--r--sys/dev/usb/umass.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/umass.c b/sys/dev/usb/umass.c
index 5e9516e3515..ae7dc941aa6 100644
--- a/sys/dev/usb/umass.c
+++ b/sys/dev/usb/umass.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: umass.c,v 1.22 2003/04/27 11:22:54 ho Exp $ */
+/* $OpenBSD: umass.c,v 1.23 2003/05/07 04:33:33 deraadt Exp $ */
/* $NetBSD: umass.c,v 1.49 2001/01/21 18:56:38 augustss Exp $ */
/*-
* Copyright (c) 1999 MAEKAWA Masahide <bishop@rr.iij4u.or.jp>,
@@ -890,7 +890,7 @@ USB_ATTACH(umass)
* call umass_detach without specifically initialising the struct.
*/
- usbd_devinfo(uaa->device, 0, devinfo);
+ usbd_devinfo(uaa->device, 0, devinfo, sizeof devinfo);
USB_ATTACH_SETUP;
sc->iface = uaa->iface;