summaryrefslogtreecommitdiff
path: root/src/journal
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal')
-rw-r--r--src/journal/coredump.c2
-rw-r--r--src/journal/journalctl.c2
-rw-r--r--src/journal/journald.c10
3 files changed, 7 insertions, 7 deletions
diff --git a/src/journal/coredump.c b/src/journal/coredump.c
index fcd0d1e625..cfd3a910d9 100644
--- a/src/journal/coredump.c
+++ b/src/journal/coredump.c
@@ -239,7 +239,7 @@ int main(int argc, char* argv[]) {
p = malloc(9 + COREDUMP_MAX);
if (!p) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
diff --git a/src/journal/journalctl.c b/src/journal/journalctl.c
index e633dd34d7..a9cf9cd957 100644
--- a/src/journal/journalctl.c
+++ b/src/journal/journalctl.c
@@ -256,7 +256,7 @@ static int add_matches(sd_journal *j, char **args) {
t = strappend("_EXE=", path);
if (!t) {
free(p);
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
diff --git a/src/journal/journald.c b/src/journal/journald.c
index 36f9abe47e..ae1fbc4bd4 100644
--- a/src/journal/journald.c
+++ b/src/journal/journald.c
@@ -1270,7 +1270,7 @@ static void process_native_message(
u = MAX((n+N_IOVEC_META_FIELDS+1) * 2U, 4U);
c = realloc(iovec, u * sizeof(struct iovec));
if (!c) {
- log_error("Out of memory");
+ log_error("Out of memory.");
break;
}
@@ -1357,7 +1357,7 @@ static void process_native_message(
k = malloc((e - p) + 1 + l);
if (!k) {
- log_error("Out of memory");
+ log_error("Out of memory.");
break;
}
@@ -1450,7 +1450,7 @@ static void process_native_file(
p = malloc(st.st_size);
if (!p) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return;
}
@@ -1543,7 +1543,7 @@ static int stdout_stream_line(StdoutStream *s, char *p) {
else {
s->identifier = strdup(p);
if (!s->identifier) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
}
@@ -1558,7 +1558,7 @@ static int stdout_stream_line(StdoutStream *s, char *p) {
else {
s->unit_id = strdup(p);
if (!s->unit_id) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
}