summaryrefslogtreecommitdiff
path: root/src/coredump
diff options
context:
space:
mode:
authorBen Boeckel <mathstuf@gmail.com>2019-04-26 20:22:40 -0400
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-04-29 16:47:18 +0200
commit5238e9575906297608ff802a27e2ff9effa3b338 (patch)
treee17c534a09908167a0697a49ed3237f43134eb4c /src/coredump
parent51aba17b88617515e037e8985d3a4ea871ac47fe (diff)
downloadsystemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.gz
systemd-5238e9575906297608ff802a27e2ff9effa3b338.tar.bz2
systemd-5238e9575906297608ff802a27e2ff9effa3b338.zip
codespell: fix spelling errors
Diffstat (limited to 'src/coredump')
-rw-r--r--src/coredump/coredump.c2
-rw-r--r--src/coredump/coredumpctl.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/coredump/coredump.c b/src/coredump/coredump.c
index ac7b972026..bd353eda96 100644
--- a/src/coredump/coredump.c
+++ b/src/coredump/coredump.c
@@ -765,7 +765,7 @@ static int submit_coredump(
return log_error_errno(r, "Failed to drop privileges: %m");
#if HAVE_ELFUTILS
- /* Try to get a strack trace if we can */
+ /* Try to get a stack trace if we can */
if (coredump_size <= arg_process_size_max) {
_cleanup_free_ char *stacktrace = NULL;
diff --git a/src/coredump/coredumpctl.c b/src/coredump/coredumpctl.c
index b239d81945..70507d284b 100644
--- a/src/coredump/coredumpctl.c
+++ b/src/coredump/coredumpctl.c
@@ -321,7 +321,7 @@ static int print_field(FILE* file, sd_journal *j) {
assert(arg_field);
/* A (user-specified) field may appear more than once for a given entry.
- * We will print all of the occurences.
+ * We will print all of the occurrences.
* This is different below for fields that systemd-coredump uses,
* because they cannot meaningfully appear more than once.
*/
@@ -790,7 +790,7 @@ static int save_core(sd_journal *j, FILE *file, char **path, bool *unlink_temp)
/* If neither path or file are specified, we will write to stdout. Let's now check
* if stdout is connected to a tty. We checked that the file exists, or that the
* core might be stored in the journal. In this second case, if we found the entry,
- * in all likelyhood we will be able to access the COREDUMP= field. In either case,
+ * in all likelihood we will be able to access the COREDUMP= field. In either case,
* we stop before doing any "real" work, i.e. before starting decompression or
* reading from the file or creating temporary files.
*/