summaryrefslogtreecommitdiff
path: root/linux/src/drivers
diff options
context:
space:
mode:
authorThomas Bushnell <thomas@gnu.org>1999-09-07 07:19:16 +0000
committerThomas Bushnell <thomas@gnu.org>1999-09-07 07:19:16 +0000
commit6e2013d5c5ca77d97b6d1cdbefe8cd226a405ec3 (patch)
treef08a114c1af39dfe586487391b37d58139f0f376 /linux/src/drivers
parentf2fb2586dffe5a8352c992b7660af747cd89aa96 (diff)
1999-09-07 Thomas Bushnell, BSG <tb@mit.edu>
* linux/src/drivers/net/yellowfin.c (yellowfin_probe): Return correct value. Reported by Marcus Brinkmann <Marcus.Brinkmann@ruhr-uni-bochum.de>.
Diffstat (limited to 'linux/src/drivers')
-rw-r--r--linux/src/drivers/net/yellowfin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/src/drivers/net/yellowfin.c b/linux/src/drivers/net/yellowfin.c
index c8e5314..8c2b5df 100644
--- a/linux/src/drivers/net/yellowfin.c
+++ b/linux/src/drivers/net/yellowfin.c
@@ -431,7 +431,7 @@ int yellowfin_probe(struct device *dev)
#if defined (MODULE)
return cards_found;
#else
- return 0;
+ return cards_found ? 0 : -ENODEV;
#endif
}