svn commit: r307600 - head/sys/net
Kevin Lo
kevlo at FreeBSD.org
Wed Oct 19 02:24:58 UTC 2016
Author: kevlo
Date: Wed Oct 19 02:24:57 2016
New Revision: 307600
URL: https://svnweb.freebsd.org/changeset/base/307600
Log:
Fix typo in comment.
Modified:
head/sys/net/if_var.h
Modified: head/sys/net/if_var.h
==============================================================================
--- head/sys/net/if_var.h Wed Oct 19 02:24:17 2016 (r307599)
+++ head/sys/net/if_var.h Wed Oct 19 02:24:57 2016 (r307600)
@@ -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);
More information about the svn-src-all
mailing list