patch-2.4.17 linux/drivers/usb/dabusb.c
Next file: linux/drivers/usb/dc2xx.c
Previous file: linux/drivers/usb/audio.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Dec 21 16:40:32 2001
- Orig file:
linux-2.4.16/drivers/usb/dabusb.c
- Orig date:
Fri Sep 14 21:04:07 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/drivers/usb/dabusb.c linux/drivers/usb/dabusb.c
@@ -224,7 +224,7 @@
err("kmalloc(sizeof(buff_t))==NULL");
goto err;
}
- memset (b, sizeof (buff_t), 0);
+ memset (b, 0, sizeof (buff_t));
b->s = s;
b->purb = usb_alloc_urb(packets);
if (!b->purb) {
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)