Here is a patch to fix a small bug with ppdev.

Tim.
*/

--- linux/drivers/char/ppdev.c.typo     Fri Jul 14 11:39:20 2000
+++ linux/drivers/char/ppdev.c  Fri Sep  1 15:47:52 2000
@@ -179,7 +179,7 @@
 
                wrote = parport_write (pp->pdev->port, kbuffer, n);
 
-               if (wrote < 0) {
+               if (wrote <= 0) {
                        if (!bytes_written)
                                bytes_written = wrote;
                        break;
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/

Reply via email to