summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorVeres Lajos <vlajos@gmail.com>2014-12-29 09:45:58 +0000
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-12-30 20:07:04 -0500
commitf131770b1465fbf423881f16ba85523a05f846fe (patch)
tree2f8de3a22c12677ae0198cb0180b9e7bb5c640b5 /src/journal
parentfd51179d5c6c693a0841db5af0404a45fd9e9845 (diff)
tree-wide: spelling fixes
https://github.com/vlajos/misspell_fixer https://github.com/torstehu/systemd/commit/b6fdeb618cf2f3ce1645b3315f15f482710c7ffa Thanks to Torstein Husebo <torstein@huseboe.net>.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c2
-rw-r--r--src/journal/journald-audit.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index b2f6966fc..7b67bc1da 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -1691,7 +1691,7 @@ static int flush_to_var(void) {
break;
if (errno != ENOENT)
- return log_error_errno(errno, "Failed to check for existance of /run/systemd/journal/flushed: %m");
+ return log_error_errno(errno, "Failed to check for existence of /run/systemd/journal/flushed: %m");
r = fd_wait_for_event(watch_fd, POLLIN, USEC_INFINITY);
if (r < 0)
diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c
index 69742fa59..20936f4be 100644
--- a/src/journal/journald-audit.c
+++ b/src/journal/journald-audit.c
@@ -206,7 +206,7 @@ static int map_generic_field(const char *prefix, const char **p, struct iovec **
return r;
}
-/* Kernel fields are those occuring in the audit string before
+/* Kernel fields are those occurring in the audit string before
* msg='. All of these fields are trusted, hence carry the "_" prefix.
* We try to translate the fields we know into our native names. The
* other's are generically mapped to _AUDIT_FIELD_XYZ= */
@@ -240,7 +240,7 @@ static const MapField map_fields_kernel[] = {
{}
};
-/* Userspace fields are thos occuring in the audit string after
+/* Userspace fields are those occurring in the audit string after
* msg='. All of these fields are untrusted, hence carry no "_"
* prefix. We map the fields we don't know to AUDIT_FIELD_XYZ= */
static const MapField map_fields_userspace[] = {