me8100.c
changeset 10 b560de13b236
parent 9 ed7a768ff898
child 11 a60ff25672a0
--- a/me8100.c	Fri Jan 18 20:41:32 2002 +0100
+++ b/me8100.c	Fri Jan 18 20:45:23 2002 +0100
@@ -585,7 +585,7 @@
   subinfo = &info->subinfo[subdevice];
 
   /* Currently we can't support the old style minor numbers. */
-  if (subinfo < 0) {
+  if (subdevice < 0) {
     printk(KERN_ERR "ME8100:me8100_open(): Bad subdevice %d\n", subdevice);
     return -ENODEV;
   }