Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/dev/usb/ubt.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/dev/usb/ubt.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.10 retrieving revision 1.11 diff -u -p -r1.10 -r1.11 --- src/sys/dev/usb/ubt.c 2004/01/04 05:47:43 1.10 +++ src/sys/dev/usb/ubt.c 2004/04/23 17:25:25 1.11 @@ -1,4 +1,4 @@ -/* $NetBSD: ubt.c,v 1.10 2004/01/04 05:47:43 dsainty Exp $ */ +/* $NetBSD: ubt.c,v 1.11 2004/04/23 17:25:25 itojun Exp $ */ /* * Copyright (c) 2002, 2003 The NetBSD Foundation, Inc. @@ -38,7 +38,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.10 2004/01/04 05:47:43 dsainty Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ubt.c,v 1.11 2004/04/23 17:25:25 itojun Exp $"); #include #include @@ -172,7 +172,7 @@ USB_ATTACH(ubt) DPRINTFN(10,("ubt_attach: sc=%p\n", sc)); - usbd_devinfo(dev, 0, devinfo); + usbd_devinfo(dev, 0, devinfo, sizeof(devinfo)); USB_ATTACH_SETUP; printf("%s: %s\n", USBDEVNAME(sc->sc_dev), devinfo);