Skip to contentSkip to conversation

fix oddball boolean logic in s390 netiucv

PATCH Dave Jones 1 participant 1 message Jun 23, 2006

Subsystems (4)
lore
Share & tools
lore

Dave Jones

author
#0 lore raw
drivers/s390/net/netiucv.c renamed from drivers/s390/net/netiucv.c~ +1 -1
@@ -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 {
Signature · 1 line
http://www.codemonkey.org.uk