patch-2.3.15 linux/drivers/usb/printer.c

Next file: linux/drivers/usb/proc_usb.c
Previous file: linux/drivers/usb/ohci.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.14/linux/drivers/usb/printer.c linux/drivers/usb/printer.c
@@ -161,7 +161,7 @@
 	unsigned long copy_size;
 	unsigned long bytes_written = 0;
 	unsigned long partial;
-	int result;
+	int result = USB_ST_NOERROR;
 	int maxretry;
 
 	do {

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)