Module Name: src Committed By: andvar Date: Sun Feb 12 16:28:32 UTC 2023
Modified Files: src/sys/compat/netbsd32: netbsd32.h src/sys/compat/sys: msg.h src/sys/sys: msg.h src/sys/uvm: uvm_bio.c uvm_km.c Log Message: s/strucure/structure/ and s/structues/structures/ in comments. To generate a diff of this commit: cvs rdiff -u -r1.140 -r1.141 src/sys/compat/netbsd32/netbsd32.h cvs rdiff -u -r1.6 -r1.7 src/sys/compat/sys/msg.h cvs rdiff -u -r1.28 -r1.29 src/sys/sys/msg.h cvs rdiff -u -r1.126 -r1.127 src/sys/uvm/uvm_bio.c cvs rdiff -u -r1.162 -r1.163 src/sys/uvm/uvm_km.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/compat/netbsd32/netbsd32.h diff -u src/sys/compat/netbsd32/netbsd32.h:1.140 src/sys/compat/netbsd32/netbsd32.h:1.141 --- src/sys/compat/netbsd32/netbsd32.h:1.140 Sat Apr 23 17:46:23 2022 +++ src/sys/compat/netbsd32/netbsd32.h Sun Feb 12 16:28:32 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: netbsd32.h,v 1.140 2022/04/23 17:46:23 reinoud Exp $ */ +/* $NetBSD: netbsd32.h,v 1.141 2023/02/12 16:28:32 andvar Exp $ */ /* * Copyright (c) 1998, 2001, 2008, 2015 Matthew R. Green @@ -511,7 +511,7 @@ typedef netbsd32_size_t netbsd32_msglen_ typedef netbsd32_pointer_t netbsd32_msqid_dsp_t; struct netbsd32_msqid_ds { - struct netbsd32_ipc_perm msg_perm; /* operation permission strucure */ + struct netbsd32_ipc_perm msg_perm; /* operation permission structure */ netbsd32_msgqnum_t msg_qnum; /* number of messages in the queue */ netbsd32_msglen_t msg_qbytes; /* max # of bytes in the queue */ pid_t msg_lspid; /* process ID of last msgsend() */ @@ -530,7 +530,7 @@ struct netbsd32_msqid_ds { }; typedef netbsd32_pointer_t netbsd32_msqid_ds50p_t; struct netbsd32_msqid_ds50 { - struct netbsd32_ipc_perm msg_perm; /* operation permission strucure */ + struct netbsd32_ipc_perm msg_perm; /* operation permission structure */ netbsd32_msgqnum_t msg_qnum; /* number of messages in the queue */ netbsd32_msglen_t msg_qbytes; /* max # of bytes in the queue */ pid_t msg_lspid; /* process ID of last msgsend() */ Index: src/sys/compat/sys/msg.h diff -u src/sys/compat/sys/msg.h:1.6 src/sys/compat/sys/msg.h:1.7 --- src/sys/compat/sys/msg.h:1.6 Thu Feb 21 03:37:19 2019 +++ src/sys/compat/sys/msg.h Sun Feb 12 16:28:32 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.h,v 1.6 2019/02/21 03:37:19 mrg Exp $ */ +/* $NetBSD: msg.h,v 1.7 2023/02/12 16:28:32 andvar Exp $ */ /* * SVID compatible msg.h file @@ -45,7 +45,7 @@ struct msqid_ds14 { }; struct msqid_ds13 { - struct ipc_perm msg_perm; /* operation permission strucure */ + struct ipc_perm msg_perm; /* operation permission structure */ msgqnum_t msg_qnum; /* number of messages in the queue */ msglen_t msg_qbytes; /* max # of bytes in the queue */ pid_t msg_lspid; /* process ID of last msgsend() */ Index: src/sys/sys/msg.h diff -u src/sys/sys/msg.h:1.28 src/sys/sys/msg.h:1.29 --- src/sys/sys/msg.h:1.28 Wed Aug 7 00:38:02 2019 +++ src/sys/sys/msg.h Sun Feb 12 16:28:32 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: msg.h,v 1.28 2019/08/07 00:38:02 pgoyette Exp $ */ +/* $NetBSD: msg.h,v 1.29 2023/02/12 16:28:32 andvar Exp $ */ /*- * Copyright (c) 1999, 2007 The NetBSD Foundation, Inc. @@ -76,7 +76,7 @@ typedef unsigned long msgqnum_t; typedef size_t msglen_t; struct msqid_ds { - struct ipc_perm msg_perm; /* operation permission strucure */ + struct ipc_perm msg_perm; /* operation permission structure */ msgqnum_t msg_qnum; /* number of messages in the queue */ msglen_t msg_qbytes; /* max # of bytes in the queue */ pid_t msg_lspid; /* process ID of last msgsend() */ Index: src/sys/uvm/uvm_bio.c diff -u src/sys/uvm/uvm_bio.c:1.126 src/sys/uvm/uvm_bio.c:1.127 --- src/sys/uvm/uvm_bio.c:1.126 Thu Apr 1 06:26:26 2021 +++ src/sys/uvm/uvm_bio.c Sun Feb 12 16:28:32 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_bio.c,v 1.126 2021/04/01 06:26:26 simonb Exp $ */ +/* $NetBSD: uvm_bio.c,v 1.127 2023/02/12 16:28:32 andvar Exp $ */ /* * Copyright (c) 1998 Chuck Silvers. @@ -34,7 +34,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.126 2021/04/01 06:26:26 simonb Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_bio.c,v 1.127 2023/02/12 16:28:32 andvar Exp $"); #include "opt_uvmhist.h" #include "opt_ubc.h" @@ -73,7 +73,7 @@ bool ubc_direct = false; #endif /* - * local data structues + * local data structures */ #define UBC_HASH(uobj, offset) \ Index: src/sys/uvm/uvm_km.c diff -u src/sys/uvm/uvm_km.c:1.162 src/sys/uvm/uvm_km.c:1.163 --- src/sys/uvm/uvm_km.c:1.162 Sat Aug 6 05:55:37 2022 +++ src/sys/uvm/uvm_km.c Sun Feb 12 16:28:32 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: uvm_km.c,v 1.162 2022/08/06 05:55:37 chs Exp $ */ +/* $NetBSD: uvm_km.c,v 1.163 2023/02/12 16:28:32 andvar Exp $ */ /* * Copyright (c) 1997 Charles D. Cranor and Washington University. @@ -152,7 +152,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.162 2022/08/06 05:55:37 chs Exp $"); +__KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1.163 2023/02/12 16:28:32 andvar Exp $"); #include "opt_uvmhist.h" @@ -194,7 +194,7 @@ __KERNEL_RCSID(0, "$NetBSD: uvm_km.c,v 1 struct vm_map *kernel_map = NULL; /* - * local data structues + * local data structures */ static struct vm_map kernel_map_store;