PATCH: eisa reports "0 device" not "0 devices"

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Sat Mar 22 2003 - 18:54:47 EST


Since it gets 1 device right it wasnt hard to fix 8)

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux-2.5.65-bk3/drivers/eisa/eisa-bus.c linux-2.5.65-ac3/drivers/eisa/eisa-bus.c
--- linux-2.5.65-bk3/drivers/eisa/eisa-bus.c 2003-03-22 19:33:35.000000000 +0000
+++ linux-2.5.65-ac3/drivers/eisa/eisa-bus.c 2003-03-22 17:33:05.000000000 +0000
@@ -191,7 +191,7 @@
                         eisa_register_device (root, str, i);
                 }
         }
- printk (KERN_INFO "EISA: Detected %d card%s.\n", c, c < 2 ? "" : "s");
+ printk (KERN_INFO "EISA: Detected %d card%s.\n", c, c == 1 ? "" : "s");
 
         return 0;
 }
-
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/



This archive was generated by hypermail 2b29 : Sun Mar 23 2003 - 22:00:42 EST