[patch] 2.4.0-test8-pre1: ppdev typo

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

  • Next message: Richard B. Johnson: "Re: Large File support and blocks."

    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 : Fri Sep 01 2000 - 11:16:38 EDT