lkml.org 
[lkml]   [2006]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectfix oddball boolean logic in s390 netiucv
Signed-off-by: Dave Jones <davej@redhat.com>

--- linux-2.6/drivers/s390/net/netiucv.c~ 2006-06-22 20:47:35.000000000 -0400
+++ linux-2.6/drivers/s390/net/netiucv.c 2006-06-22 20:48:05.000000000 -0400
@@ -2029,7 +2029,7 @@ remove_write (struct device_driver *drv,
count = IFNAMSIZ-1;

for (i=0, p=(char *)buf; i<count && *p; i++, p++) {
- if ((*p == '\n') | (*p == ' ')) {
+ if ((*p == '\n') || (*p == ' ')) {
/* trailing lf, grr */
break;
} else {
--
http://www.codemonkey.org.uk
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-06-23 02:52    [W:0.024 / U:1.880 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site