summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorTorstein Husebø <torstein@huseboe.net>2016-07-10 14:48:23 +0200
committerTorstein Husebø <torstein@huseboe.net>2016-07-11 16:18:43 +0200
commit61233823aa4b0fe9605e0a7cd77261b3c5bca8e9 (patch)
tree1028bd5ea783209d44aefa0acacd277d2dea44ab /src/journal
parentd6cdc4cd4b58cfff4b44e1201e54f05b4a38d2d4 (diff)
treewide: fix typos and remove accidental repetition of words
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journald-server.c2
-rw-r--r--src/journal/sd-journal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/journal/journald-server.c b/src/journal/journald-server.c
index 8f82d2a838..b1cbda0fff 100644
--- a/src/journal/journald-server.c
+++ b/src/journal/journald-server.c
@@ -1607,7 +1607,7 @@ static int dispatch_notify_event(sd_event_source *es, int fd, uint32_t revents,
/* Dispatch one stream notification event */
stdout_stream_send_notify(s->stdout_streams_notify_queue);
- /* Leave us enabled if there's still more to to do. */
+ /* Leave us enabled if there's still more to do. */
if (s->send_watchdog || s->stdout_streams_notify_queue)
return 0;
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 1cea68ad42..75a0ffb49b 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -1438,7 +1438,7 @@ static int add_directory(sd_journal *j, const char *prefix, const char *dirname)
if (j->toplevel_fd < 0)
d = opendir(path);
else
- /* Open the specified directory relative to the the toplevel fd. Enforce that the path specified is
+ /* Open the specified directory relative to the toplevel fd. Enforce that the path specified is
* relative, by dropping the initial slash */
d = xopendirat(j->toplevel_fd, skip_slash(path), 0);
if (!d) {