Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Oct 2016 02:24:57 +0000 (UTC)
From:      Kevin Lo <kevlo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r307600 - head/sys/net
Message-ID:  <201610190224.u9J2OvSD005154@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201610190224.u9J2OvSD005154>