patch-2.4.7 linux/drivers/usb/scanner.c

Next file: linux/drivers/usb/serial/Config.in
Previous file: linux/drivers/usb/printer.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.6/linux/drivers/usb/scanner.c linux/drivers/usb/scanner.c
@@ -909,7 +909,7 @@
 		return result;
 	}
 	default:
-		return -ENOIOCTLCMD;
+		return -ENOTTY;
 	}
 	return 0;
 }

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