summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-05-04 11:26:17 +0200
committerLennart Poettering <lennart@poettering.net>2016-05-04 11:26:17 +0200
commitf8e2f4d6a0c6bcb5a03abe580d657b932cdb9798 (patch)
tree1599b9662a23b452a627d7d76400b4add0260157 /src/journal
parent1ed7ebcfcaa952441565c1c8c43084add1f58a89 (diff)
treewide: fix typos (#3187)
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journal-file.c2
-rw-r--r--src/journal/sd-journal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index ec50333c2c..7504326bff 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -3160,7 +3160,7 @@ int journal_file_open(
goto fail;
}
- /* The file is opened now successfully, thus we take possesion of any passed in fd. */
+ /* The file is opened now successfully, thus we take possession of any passed in fd. */
f->close_fd = true;
*ret = f;
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 27c1dd346f..1cea68ad42 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -1942,7 +1942,7 @@ _public_ int sd_journal_open_files_fd(sd_journal **ret, int fds[], unsigned n_fd
return 0;
fail:
- /* If we fail, make sure we don't take possession of the files we managed to make use of successfuly, and they
+ /* If we fail, make sure we don't take possession of the files we managed to make use of successfully, and they
* remain open */
ORDERED_HASHMAP_FOREACH(f, j->files, iterator)
f->close_fd = false;