svn commit: r277543 - projects/ifnet/sys/net
Gleb Smirnoff
glebius at FreeBSD.org
Fri Jan 23 00:02:27 UTC 2015
Author: glebius
Date: Fri Jan 23 00:02:26 2015
New Revision: 277543
URL: https://svnweb.freebsd.org/changeset/base/277543
Log:
Return EOPNOTSUPP in case of not supported option.
Modified:
projects/ifnet/sys/net/if_ethersubr.c
Modified: projects/ifnet/sys/net/if_ethersubr.c
==============================================================================
--- projects/ifnet/sys/net/if_ethersubr.c Thu Jan 22 23:59:35 2015 (r277542)
+++ projects/ifnet/sys/net/if_ethersubr.c Fri Jan 23 00:02:26 2015 (r277543)
@@ -985,7 +985,7 @@ ether_ioctl(struct ifnet *ifp, u_long co
}
break;
default:
- error = EINVAL; /* XXX netbsd has ENOTTY??? */
+ error = EOPNOTSUPP;
break;
}
return (error);
More information about the svn-src-projects
mailing list