summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/ask-password-api.c2
-rw-r--r--src/shared/dbus-common.c2
-rw-r--r--src/shared/logs-show.c2
-rw-r--r--src/shared/util.c6
4 files changed, 6 insertions, 6 deletions
diff --git a/src/shared/ask-password-api.c b/src/shared/ask-password-api.c
index 4333bfb564..005f40fef7 100644
--- a/src/shared/ask-password-api.c
+++ b/src/shared/ask-password-api.c
@@ -282,7 +282,7 @@ static int create_socket(char **name) {
if (!(c = strdup(sa.un.sun_path))) {
r = -ENOMEM;
- log_error("Out of memory");
+ log_error("Out of memory.");
goto fail;
}
diff --git a/src/shared/dbus-common.c b/src/shared/dbus-common.c
index 7d57680cfc..ab1dc4d7e4 100644
--- a/src/shared/dbus-common.c
+++ b/src/shared/dbus-common.c
@@ -1161,7 +1161,7 @@ void bus_async_unregister_and_exit(DBusConnection *bus, const char *name) {
return;
oom:
- log_error("Out of memory");
+ log_error("Out of memory.");
if (pending) {
dbus_pending_call_cancel(pending);
diff --git a/src/shared/logs-show.c b/src/shared/logs-show.c
index a68cd3de57..f90f5a1f0d 100644
--- a/src/shared/logs-show.c
+++ b/src/shared/logs-show.c
@@ -53,7 +53,7 @@ static int parse_field(const void *data, size_t length, const char *field, char
memcpy(buf, (const char*) data + fl, nl);
((char*)buf)[nl] = 0;
if (!buf) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
diff --git a/src/shared/util.c b/src/shared/util.c
index 43ec62eac6..2e7ae63db2 100644
--- a/src/shared/util.c
+++ b/src/shared/util.c
@@ -909,7 +909,7 @@ int load_env_file(
continue;
if (!(u = normalize_env_assignment(p))) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
@@ -918,7 +918,7 @@ int load_env_file(
free(u);
if (!t) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
@@ -4278,7 +4278,7 @@ void execute_directory(const char *directory, DIR *d, char *argv[]) {
continue;
if (asprintf(&path, "%s/%s", directory, de->d_name) < 0) {
- log_error("Out of memory");
+ log_error("Out of memory.");
continue;
}