From 2d7f2af4fc17ecd34af0b9f48836c3614a6d56d3 Mon Sep 17 00:00:00 2001 From: jsg Date: Tue, 11 Jan 2022 23:59:55 +0000 Subject: [PATCH] spelling --- sys/sys/gmon.h | 4 ++-- sys/sys/namei.h | 6 +++--- sys/sys/stat.h | 4 ++-- sys/sys/sysctl.h | 4 ++-- sys/sys/unpcb.h | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/sys/sys/gmon.h b/sys/sys/gmon.h index 1a63cb52b1b..3e1e77c1752 100644 --- a/sys/sys/gmon.h +++ b/sys/sys/gmon.h @@ -1,4 +1,4 @@ -/* $OpenBSD: gmon.h,v 1.8 2016/05/07 19:30:52 guenther Exp $ */ +/* $OpenBSD: gmon.h,v 1.9 2022/01/11 23:59:55 jsg Exp $ */ /* $NetBSD: gmon.h,v 1.5 1996/04/09 20:55:30 cgd Exp $ */ /*- @@ -156,7 +156,7 @@ struct gmonparam { #define GPROF_GMONPARAM 4 /* struct: profiling parameters (see above) */ #ifdef _KERNEL -extern int gmoninit; /* Is the kernel ready for beeing profiled? */ +extern int gmoninit; /* Is the kernel ready for being profiled? */ #else /* !_KERNEL */ diff --git a/sys/sys/namei.h b/sys/sys/namei.h index 7e52ed0284e..98ec3684b00 100644 --- a/sys/sys/namei.h +++ b/sys/sys/namei.h @@ -1,4 +1,4 @@ -/* $OpenBSD: namei.h,v 1.49 2022/01/09 10:28:07 claudio Exp $ */ +/* $OpenBSD: namei.h,v 1.50 2022/01/11 23:59:55 jsg Exp $ */ /* $NetBSD: namei.h,v 1.11 1996/02/09 18:25:20 christos Exp $ */ /* @@ -78,7 +78,7 @@ struct nameidata { /* * Lookup parameters: this structure describes the subset of - * information from the nameidat satructure that is passed + * information from the nameidata structure that is passed * through the VOP interface. */ struct componentname { @@ -137,7 +137,7 @@ struct nameidata { #define NOCROSSMOUNT 0x000100 /* do not cross mount points */ #define RDONLY 0x000200 /* lookup with read-only semantics */ #define HASBUF 0x000400 /* has allocated pathname buffer */ -#define SAVENAME 0x000800 /* save pathanme buffer */ +#define SAVENAME 0x000800 /* save pathname buffer */ #define SAVESTART 0x001000 /* save starting directory */ #define ISDOTDOT 0x002000 /* current component name is .. */ #define MAKEENTRY 0x004000 /* entry is to be added to name cache */ diff --git a/sys/sys/stat.h b/sys/sys/stat.h index 564548f5aa6..ce1040fd120 100644 --- a/sys/sys/stat.h +++ b/sys/sys/stat.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stat.h,v 1.28 2015/04/04 18:06:08 jca Exp $ */ +/* $OpenBSD: stat.h,v 1.29 2022/01/11 23:59:55 jsg Exp $ */ /* $NetBSD: stat.h,v 1.20 1996/05/16 22:17:49 cgd Exp $ */ /*- @@ -141,7 +141,7 @@ struct stat { #endif #if __POSIX_VISIBLE >= 200809 -/* manadated to be present, but permitted to always return zero */ +/* mandated to be present, but permitted to always return zero */ #define S_TYPEISMQ(m) 0 #define S_TYPEISSEM(m) 0 #define S_TYPEISSHM(m) 0 diff --git a/sys/sys/sysctl.h b/sys/sys/sysctl.h index 5ad46445f36..29f82bcece3 100644 --- a/sys/sys/sysctl.h +++ b/sys/sys/sysctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.h,v 1.220 2021/12/07 22:17:03 guenther Exp $ */ +/* $OpenBSD: sysctl.h,v 1.221 2022/01/11 23:59:55 jsg Exp $ */ /* $NetBSD: sysctl.h,v 1.16 1996/04/09 20:55:36 cgd Exp $ */ /* @@ -979,7 +979,7 @@ struct kinfo_file { * variable. The loader prevents multiple use by issuing errors * if a variable is initialized in more than one place. They are * aggregated into an array in debug_sysctl(), so that it can - * conveniently locate them when querried. If more debugging + * conveniently locate them when queried. If more debugging * variables are added, they must also be declared here and also * entered into the array. */ diff --git a/sys/sys/unpcb.h b/sys/sys/unpcb.h index 27aa0ba8f48..b8afbb47514 100644 --- a/sys/sys/unpcb.h +++ b/sys/sys/unpcb.h @@ -1,4 +1,4 @@ -/* $OpenBSD: unpcb.h,v 1.22 2021/12/26 23:41:41 mvs Exp $ */ +/* $OpenBSD: unpcb.h,v 1.23 2022/01/11 23:59:55 jsg Exp $ */ /* $NetBSD: unpcb.h,v 1.6 1994/06/29 06:46:08 cgd Exp $ */ /* @@ -76,7 +76,7 @@ struct unpcb { long unp_msgcount; /* [G] references from socket rcv buf */ long unp_gcrefs; /* [G] references from gc */ int unp_flags; /* [U] this unpcb contains peer eids */ - int unp_gcflags; /* [G] garbge collector flags */ + int unp_gcflags; /* [G] garbage collector flags */ struct sockpeercred unp_connid;/* [U] id of peer process */ struct timespec unp_ctime; /* [I] holds creation time */ LIST_ENTRY(unpcb) unp_link; /* [G] link in per-AF list of sockets */ -- 2.20.1