patch-2.4.0-test2 linux/drivers/net/hplance.c

Next file: linux/drivers/net/ibmlana.c
Previous file: linux/drivers/net/hp100.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test1/linux/drivers/net/hplance.c linux/drivers/net/hplance.c
@@ -93,7 +93,7 @@
         }
         /* OK, return success, or ENODEV if we didn't find any cards */
         if (!cards)
-                return ENODEV;
+                return -ENODEV;
         return 0;
 }
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)