diff options
Diffstat (limited to '')
-rw-r--r-- | cpukit/libnetworking/net/if_ethersubr.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cpukit/libnetworking/net/if_ethersubr.c b/cpukit/libnetworking/net/if_ethersubr.c index a1c5815e69..7f5d3867d9 100644 --- a/cpukit/libnetworking/net/if_ethersubr.c +++ b/cpukit/libnetworking/net/if_ethersubr.c @@ -894,6 +894,9 @@ ether_ioctl(struct ifnet *ifp, int command, caddr_t data) ifp->if_mtu = ifr->ifr_mtu; } break; + default: + error = EINVAL; /* XXX netbsd has ENOTTY??? */ + break; } return (error); } |