[patch] 2.4.0-test8-pre1: ppdev typo

From: Tim Waugh (twaugh@redhat.com)
Date: Fri Sep 01 2000 - 10:15:01 EST


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 majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:11 EST