summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/cat.c2
-rw-r--r--src/journal/journalctl.c4
-rw-r--r--src/journal/journald-audit.c2
-rw-r--r--src/journal/journald-context.c2
-rw-r--r--src/journal/lookup3.c2
5 files changed, 6 insertions, 6 deletions
diff --git a/src/journal/cat.c b/src/journal/cat.c
index 9900bd2e86..d8d72690d7 100644
--- a/src/journal/cat.c
+++ b/src/journal/cat.c
@@ -146,7 +146,7 @@ static int run(int argc, char *argv[]) {
saved_stderr = fcntl(STDERR_FILENO, F_DUPFD_CLOEXEC, 3);
- r = rearrange_stdio(STDIN_FILENO, outfd, errfd < 0 ? outfd : errfd); /* Invalidates fd on succcess + error! */
+ r = rearrange_stdio(STDIN_FILENO, outfd, errfd < 0 ? outfd : errfd); /* Invalidates fd on success + error! */
TAKE_FD(outfd);
TAKE_FD(errfd);
if (r < 0)
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 00489098ee..62110495b3 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -1263,7 +1263,7 @@ static int get_boots(
goto finish;
}
- /* At this point the read pointer is positioned at the oldest/newest occurence of the reference boot
+ /* At this point the read pointer is positioned at the oldest/newest occurrence of the reference boot
* ID. After flushing the matches, one more invocation of _previous()/_next() will hence place us at
* the following entry, which must then have an older/newer boot ID */
} else {
@@ -2427,7 +2427,7 @@ int main(int argc, char *argv[]) {
if (arg_follow) {
poll_fd = sd_journal_get_fd(j);
if (poll_fd == -EMFILE) {
- log_warning_errno(poll_fd, "Insufficent watch descriptors available. Reverting to -n.");
+ log_warning_errno(poll_fd, "Insufficient watch descriptors available. Reverting to -n.");
arg_follow = false;
} else if (poll_fd == -EMEDIUMTYPE) {
log_error_errno(poll_fd, "The --follow switch is not supported in conjunction with reading from STDIN.");
diff --git a/src/journal/journald-audit.c b/src/journal/journald-audit.c
index accbad4180..71d9282ed5 100644
--- a/src/journal/journald-audit.c
+++ b/src/journal/journald-audit.c
@@ -445,7 +445,7 @@ void server_process_audit_message(
if (IN_SET(nl->nlmsg_type, NLMSG_NOOP, NLMSG_ERROR))
return;
- /* Except AUDIT_USER, all messsages below AUDIT_FIRST_USER_MSG are control messages, let's ignore those */
+ /* Except AUDIT_USER, all messages below AUDIT_FIRST_USER_MSG are control messages, let's ignore those */
if (nl->nlmsg_type < AUDIT_FIRST_USER_MSG && nl->nlmsg_type != AUDIT_USER)
return;
diff --git a/src/journal/journald-context.c b/src/journal/journald-context.c
index 7c51f2f633..e6aeb03b77 100644
--- a/src/journal/journald-context.c
+++ b/src/journal/journald-context.c
@@ -48,7 +48,7 @@
* previously had trouble associating the log message with the service.
*
* NB: With and without the metadata cache: the implicitly added entry metadata in the journal (with the exception of
- * UID/PID/GID and SELinux label) must be understood as possibly slightly out of sync (i.e. sometimes slighly older
+ * UID/PID/GID and SELinux label) must be understood as possibly slightly out of sync (i.e. sometimes slightly older
* and sometimes slightly newer than what was current at the log event).
*/
diff --git a/src/journal/lookup3.c b/src/journal/lookup3.c
index 6c61f17c7d..102d2fee18 100644
--- a/src/journal/lookup3.c
+++ b/src/journal/lookup3.c
@@ -811,7 +811,7 @@ void driver2()
{
for (j=0; j<8; ++j) /*------------------------ for each input bit, */
{
- for (m=1; m<8; ++m) /*------------ for serveral possible initvals, */
+ for (m=1; m<8; ++m) /*------------- for several possible initvals, */
{
for (l=0; l<HASHSTATE; ++l)
e[l]=f[l]=g[l]=h[l]=x[l]=y[l]=~((uint32_t)0);