Fix typo in comment.

This commit is contained in:
Kevin Lo 2016-10-19 02:24:57 +00:00
parent d25733dcb0
commit b95d46da24

View File

@ -496,7 +496,7 @@ extern struct sx ifnet_sxlock;
/*
* Look up an ifnet given its index; the _ref variant also acquires a
* reference that must be freed using if_rele(). It is almost always a bug
* to call ifnet_byindex() instead if ifnet_byindex_ref().
* to call ifnet_byindex() instead of ifnet_byindex_ref().
*/
struct ifnet *ifnet_byindex(u_short idx);
struct ifnet *ifnet_byindex_locked(u_short idx);