Messages in this thread Patch in this message | | | Date | Thu, 22 Jun 2006 20:49:30 -0400 | From | Dave Jones <> | Subject | fix 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/
| |