From 5238e9575906297608ff802a27e2ff9effa3b338 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 26 Apr 2019 20:22:40 -0400 Subject: codespell: fix spelling errors --- src/coredump/coredump.c | 2 +- src/coredump/coredumpctl.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'src/coredump') 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. */ -- cgit v1.2.3