diff options
-rw-r--r-- | sys/net/if_media.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_media.c b/sys/net/if_media.c index 1897f195ccc..31e0fb63bf8 100644 --- a/sys/net/if_media.c +++ b/sys/net/if_media.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_media.c,v 1.12 2005/02/20 01:19:17 brad Exp $ */ +/* $OpenBSD: if_media.c,v 1.13 2005/07/03 03:28:23 brad Exp $ */ /* $NetBSD: if_media.c,v 1.10 2000/03/13 23:52:39 soren Exp $ */ /*- @@ -269,7 +269,7 @@ ifmedia_ioctl(ifp, ifr, ifm, cmd) newmedia); } #endif - return (ENXIO); + return (EINVAL); } /* |