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);
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to