summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/eth.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index 62297abba4..16a6dcbd8c 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -441,8 +441,10 @@ int eth_init(bd_t *bis)
{
struct eth_device* old_current;
- if (!eth_current)
+ if (!eth_current) {
+ puts ("No ethernet found.\n");
return -1;
+ }
old_current = eth_current;
do {
OpenPOWER on IntegriCloud