summaryrefslogtreecommitdiff
path: root/sys/dev/usb/uyap.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/uyap.c
parenta8b5a2d4375a4434a0a6db9a4327408aee37ac3c (diff)
string cleanup; nate ok
Diffstat (limited to 'sys/dev/usb/uyap.c')
-rw-r--r--sys/dev/usb/uyap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/usb/uyap.c b/sys/dev/usb/uyap.c
index b269f375669..846c519e421 100644
--- a/sys/dev/usb/uyap.c
+++ b/sys/dev/usb/uyap.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: uyap.c,v 1.6 2002/07/25 04:07:33 nate Exp $ */
+/* $OpenBSD: uyap.c,v 1.7 2003/05/07 04:33:33 deraadt Exp $ */
/* $NetBSD: uyap.c,v 1.6 2002/07/11 21:14:37 augustss Exp $ */
/*
@@ -87,7 +87,7 @@ USB_ATTACH(uyap)
usbd_status err;
char devinfo[1024];
- usbd_devinfo(dev, 0, devinfo);
+ usbd_devinfo(dev, 0, devinfo, sizeof devinfo);
USB_ATTACH_SETUP;
printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfo);
printf("%s: downloading firmware\n", USBDEVNAME(sc->sc_dev));