summaryrefslogtreecommitdiff
path: root/os/pc/ethersmc.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/pc/ethersmc.c')
-rw-r--r--os/pc/ethersmc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/os/pc/ethersmc.c b/os/pc/ethersmc.c
index ddd3f729..65ebffca 100644
--- a/os/pc/ethersmc.c
+++ b/os/pc/ethersmc.c
@@ -713,6 +713,7 @@ reset(Ether* ether)
if (ctlr == 0) {
iofree(ether->port);
pcmspecialclose(slot);
+ return -1;
}
ilock(ctlr);