Module Name: src Committed By: skrll Date: Fri Jul 29 15:24:28 UTC 2022
Modified Files: src/sys/net: if.c Log Message: Fix a typo in a comment. To generate a diff of this commit: cvs rdiff -u -r1.510 -r1.511 src/sys/net/if.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/net/if.c diff -u src/sys/net/if.c:1.510 src/sys/net/if.c:1.511 --- src/sys/net/if.c:1.510 Fri Jul 29 15:19:30 2022 +++ src/sys/net/if.c Fri Jul 29 15:24:28 2022 @@ -1,4 +1,4 @@ -/* $NetBSD: if.c,v 1.510 2022/07/29 15:19:30 skrll Exp $ */ +/* $NetBSD: if.c,v 1.511 2022/07/29 15:24:28 skrll Exp $ */ /*- * Copyright (c) 1999, 2000, 2001, 2008 The NetBSD Foundation, Inc. @@ -90,7 +90,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.510 2022/07/29 15:19:30 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.511 2022/07/29 15:24:28 skrll Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -3084,7 +3084,7 @@ void if_export_if_data(ifnet_t * const ifp, struct if_data *ifi, bool zero_stats) { - /* Collet the volatile stats first; this zeros *ifi. */ + /* Collect the volatile stats first; this zeros *ifi. */ if_stats_to_if_data(ifp, ifi, zero_stats); ifi->ifi_type = ifp->if_type;