net: bnx2x: fix error value sign
[linux-2.6.git] / drivers / net / bnx2x / bnx2x_main.c
index e9ad16f..9709b85 100644 (file)
@@ -9064,7 +9064,7 @@ static int __devinit bnx2x_init_one(struct pci_dev *pdev,
        default:
                pr_err("Unknown board_type (%ld), aborting\n",
                           ent->driver_data);
-               return ENODEV;
+               return -ENODEV;
        }
 
        cid_count += CNIC_CONTEXT_USE;