lkml.org 
[lkml]   [2000]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[patch] 2.4.0-test8-pre1: ppdev typo
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/
\
 
 \ /
  Last update: 2005-03-22 12:39    [W:0.028 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site