Module Name:    src
Committed By:   skrll
Date:           Mon Jul 11 07:36:56 UTC 2022

Modified Files:
        src/sys/net: if.c

Log Message:
Grammar in a comment.


To generate a diff of this commit:
cvs rdiff -u -r1.507 -r1.508 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.507 src/sys/net/if.c:1.508
--- src/sys/net/if.c:1.507	Fri Jul  8 07:02:47 2022
+++ src/sys/net/if.c	Mon Jul 11 07:36:56 2022
@@ -1,4 +1,4 @@
-/*	$NetBSD: if.c,v 1.507 2022/07/08 07:02:47 skrll Exp $	*/
+/*	$NetBSD: if.c,v 1.508 2022/07/11 07:36:56 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.507 2022/07/08 07:02:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if.c,v 1.508 2022/07/11 07:36:56 skrll Exp $");
 
 #if defined(_KERNEL_OPT)
 #include "opt_inet.h"
@@ -1867,8 +1867,8 @@ ifa_remove(struct ifnet *ifp, struct ifa
 	KASSERT(ifa->ifa_ifp == ifp);
 	/*
 	 * Check MP-safety for IFEF_MPSAFE drivers.
-	 * if_is_deactivated indicates ifa_remove is called form if_detach
-	 * where is safe even if IFNET_LOCK isn't held.
+	 * if_is_deactivated indicates ifa_remove is called fromm if_detach
+	 * where it is safe even if IFNET_LOCK isn't held.
 	 */
 	KASSERT(!if_is_mpsafe(ifp) || if_is_deactivated(ifp) || IFNET_LOCKED(ifp));
 

Reply via email to