Commit 16a157cd authored by Alan Cox's avatar Alan Cox Committed by Linus Torvalds

[PATCH] eisa reports "0 device" not "0 devices"

Since it gets 1 device right it wasnt hard to fix 8)
parent 4346f93f
......@@ -191,7 +191,7 @@ static int __init eisa_probe (struct eisa_root_device *root)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment