diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/api_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api_net.c b/api/api_net.c index 7b3805e8fd..04e4f4a44e 100644 --- a/api/api_net.c +++ b/api/api_net.c @@ -37,7 +37,7 @@ int dev_open_net(void *cookie) if (!dev_valid_net(cookie)) return API_ENODEV; - if (eth_init(gd->bd) < 0) + if (eth_init() < 0) return API_EIO; return 0; |