summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hromatka <tom.hromatka@oracle.com>2023-03-29 08:20:35 -0600
committerTom Hromatka <tom.hromatka@oracle.com>2023-03-29 08:20:35 -0600
commit658acd39ac72f7d9fd9c91aca4548dadd26c9da3 (patch)
tree1f2b5590bea04a690e4d11f4d98710673925c868
parentbc715aa6b819b557697373f5632c121f1e577437 (diff)
downloadlibseccomp-release-2.5.tar.gz
all: fix comment typosrelease-2.5
Fix two comment typos reported by Codespell: Error: ./src/syscalls.c:292: pseduo ==> pseudo Error: ./src/gen_pfc.c:247: pseduo ==> pseudo Signed-off-by: Tom Hromatka <tom.hromatka@oracle.com> (cherry picked from commit d5f77038335d523da509e0c246da8be794c511b7)
-rw-r--r--src/gen_pfc.c2
-rw-r--r--src/syscalls.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gen_pfc.c b/src/gen_pfc.c
index 2e38eb6..d58f586 100644
--- a/src/gen_pfc.c
+++ b/src/gen_pfc.c
@@ -238,7 +238,7 @@ static void _gen_pfc_chain(const struct arch_def *arch,
* @param sys the syscall filter
* @param fds the file stream to send the output
*
- * This function generates a pseduo filter code representation of the given
+ * This function generates a pseudo filter code representation of the given
* syscall filter and writes it to the given output stream.
*
*/
diff --git a/src/syscalls.c b/src/syscalls.c
index 4e3d0e8..9c58c12 100644
--- a/src/syscalls.c
+++ b/src/syscalls.c
@@ -289,7 +289,7 @@ case __PNR_##NAME: \
* @param arch the arch definition
* @param syscall the direct syscall
*
- * Return the related multiplexed pseduo syscall number, __NR_SCMP_UNDEF is
+ * Return the related multiplexed pseudo syscall number, __NR_SCMP_UNDEF is
* there is no related pseudo syscall, or __NR_SCMP_ERROR otherwise.
*
*/