summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@inai.de>2014-02-17 03:37:13 +0100
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-17 19:03:07 -0500
commit73e231abde39f22097df50542c745e01de879836 (patch)
treec5ffe3b64f99ecf8849f2f551494d87a0d8198e3 /src/journal
parent48b5804a48b2b629fa793cc93bcb4a9c6edf9962 (diff)
doc: update punctuation
Resolve spotted issues related to missing or extraneous commas, dashes.
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/journalctl.c2
-rw-r--r--src/journal/sd-journal.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index 482795bd38..d406daeae9 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -727,7 +727,7 @@ static int add_matches(sd_journal *j, char **args) {
t = strappend("_COMM=", comm);
/* Append _EXE only if the interpreter is not a link.
- Otherwise it might be outdated often. */
+ Otherwise, it might be outdated often. */
if (lstat(interpreter, &st) == 0 &&
!S_ISLNK(st.st_mode)) {
t2 = strappend("_EXE=", interpreter);
diff --git a/src/journal/sd-journal.c b/src/journal/sd-journal.c
index 7466006752..6abbacf004 100644
--- a/src/journal/sd-journal.c
+++ b/src/journal/sd-journal.c
@@ -464,7 +464,7 @@ static int compare_entry_order(JournalFile *af, Object *_ao,
if (sd_id128_equal(ao->entry.boot_id, bo->entry.boot_id)) {
- /* If the boot id matches compare monotonic time */
+ /* If the boot id matches, compare monotonic time */
a = le64toh(ao->entry.monotonic);
b = le64toh(bo->entry.monotonic);
@@ -474,7 +474,7 @@ static int compare_entry_order(JournalFile *af, Object *_ao,
return 1;
}
- /* Otherwise compare UTC time */
+ /* Otherwise, compare UTC time */
a = le64toh(ao->entry.realtime);
b = le64toh(bo->entry.realtime);