[PATCH] Fix typos reported by codespell
Eugene Syromyatnikov
evgsyr at gmail.com
Fri Sep 19 15:02:31 UTC 2025
Correct the spelling issues reported by codespell[1]. The issues
in the bundled directory are left intact.
[1] https://fossies.org/linux/misc/strace-6.16.tar.xz/codespell.html
* src/defs.h: Replace "appled" with "applied".
* src/ldt.c: Replace "tht" with "the", following the change
in v6.8-rc1~195^2 "arch/x86: Fix typos".
* src/linux/s390/syscallent.h: Replace "Coporation" with "Corporation".
* src/linux/s390x/syscallent.h: Likewise.
* src/s390.c: Replce "re-declare" with "declare".
Signed-off-by: Eugene Syromyatnikov <evgsyr at gmail.com>
---
src/defs.h | 2 +-
src/ldt.c | 2 +-
src/linux/s390/syscallent.h | 2 +-
src/linux/s390x/syscallent.h | 2 +-
src/s390.c | 2 +-
5 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/defs.h b/src/defs.h
index c0a272375..bc769298b 100644
--- a/src/defs.h
+++ b/src/defs.h
@@ -1097,7 +1097,7 @@ typedef void (*print_obj_by_addr_size_fn)(struct tcb *,
* @param opaque_data A value that is unconditionally passed to print_func
* in the opaque_data argument.
* @param flags Combination of xlat style settings and additional
- * flags from enum print_array_flags that are appled
+ * flags from enum print_array_flags that are applied
* to index printing.
* @param index_xlat xlat that is used for printing indices.
* @param index_dflt Default string for the values not found
diff --git a/src/ldt.c b/src/ldt.c
index 7f4e36054..4680500d7 100644
--- a/src/ldt.c
+++ b/src/ldt.c
@@ -145,7 +145,7 @@ SYS_FUNC(modify_ldt)
}
/*
- * For some reason ("tht ABI for sys_modify_ldt() expects
+ * For some reason ("the ABI for sys_modify_ldt() expects
* 'int'"), modify_ldt clips higher bits on x86_64.
*/
diff --git a/src/linux/s390/syscallent.h b/src/linux/s390/syscallent.h
index a808c7b5b..7d1f4ba43 100644
--- a/src/linux/s390/syscallent.h
+++ b/src/linux/s390/syscallent.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000 IBM Deutschland Entwicklung GmbH, IBM Coporation
+ * Copyright (c) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Copyright (c) 2000-2021 The strace developers.
* Authors: Ulrich Weigand <Ulrich.Weigand at de.ibm.com>
* D.J. Barrow <barrow_dj at mail.yahoo.com,djbarrow at de.ibm.com>
diff --git a/src/linux/s390x/syscallent.h b/src/linux/s390x/syscallent.h
index 90bf993b7..df67d6868 100644
--- a/src/linux/s390x/syscallent.h
+++ b/src/linux/s390x/syscallent.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000 IBM Deutschland Entwicklung GmbH, IBM Coporation
+ * Copyright (c) 2000 IBM Deutschland Entwicklung GmbH, IBM Corporation
* Copyright (c) 2000-2021 The strace developers.
* Author: Ulrich Weigand <Ulrich.Weigand at de.ibm.com>
* All rights reserved.
diff --git a/src/s390.c b/src/s390.c
index 3e237e639..d989eb7b8 100644
--- a/src/s390.c
+++ b/src/s390.c
@@ -19,7 +19,7 @@
/*
* Since, for some reason, kernel doesn't expose all these nice constants and
- * structures in UAPI, we have to re-declare them ourselves.
+ * structures in UAPI, we have to declare them ourselves.
*/
/**
--
2.47.3
More information about the Strace-devel
mailing list