summaryrefslogtreecommitdiff
path: root/src/core/manager.c
diff options
context:
space:
mode:
authorShawn Landden <shawnlandden@gmail.com>2012-07-24 21:12:43 -0700
committerKay Sievers <kay@vrfy.org>2012-07-25 11:23:57 +0200
commit669241a076108e0483d7d8475beaa506106d077e (patch)
tree33039c6539c1e37c26a9900eddc3fcc2320c617c /src/core/manager.c
parent22cfbae09d7791c52901c53b240e28c63eee93d4 (diff)
use "Out of memory." consistantly (or with "\n")
glibc/glib both use "out of memory" consistantly so maybe we should consider that instead of this. Eliminates one string out of a number of binaries. Also fixes extra newline in udev/scsi_id
Diffstat (limited to 'src/core/manager.c')
-rw-r--r--src/core/manager.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/manager.c b/src/core/manager.c
index 48305e373a..42a9490242 100644
--- a/src/core/manager.c
+++ b/src/core/manager.c
@@ -1625,7 +1625,7 @@ void manager_send_unit_plymouth(Manager *m, Unit *u) {
}
if (asprintf(&message, "U\002%c%s%n", (int) (strlen(u->id) + 1), u->id, &n) < 0) {
- log_error("Out of memory");
+ log_error("Out of memory.");
goto finish;
}
@@ -2074,7 +2074,7 @@ static int create_generator_dir(Manager *m, char **generator, const char *name)
p = strappend("/run/systemd/", name);
if (!p) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
@@ -2087,7 +2087,7 @@ static int create_generator_dir(Manager *m, char **generator, const char *name)
} else {
p = strjoin("/tmp/systemd-", name, ".XXXXXX", NULL);
if (!p) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}