diff --git a/sys/net/if_var.h b/sys/net/if_var.h index 8632ea2f3af3..62c4bfdd33fb 100644 --- a/sys/net/if_var.h +++ b/sys/net/if_var.h @@ -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);