summaryrefslogtreecommitdiff
path: root/src/locale/localed.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/locale/localed.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/locale/localed.c')
-rw-r--r--src/locale/localed.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/locale/localed.c b/src/locale/localed.c
index 56fb339e1..b8007d72f 100644
--- a/src/locale/localed.c
+++ b/src/locale/localed.c
@@ -425,7 +425,7 @@ static void push_data(DBusConnection *bus) {
l_set = new0(char*, _PROP_MAX);
l_unset = new0(char*, _PROP_MAX);
if (!l_set || !l_unset) {
- log_error("Out of memory");
+ log_error("Out of memory.");
goto finish;
}
@@ -438,7 +438,7 @@ static void push_data(DBusConnection *bus) {
char *s;
if (asprintf(&s, "%s=%s", names[p], data[p]) < 0) {
- log_error("Out of memory");
+ log_error("Out of memory.");
goto finish;
}
@@ -1344,7 +1344,7 @@ static int connect_bus(DBusConnection **_bus) {
if (!dbus_connection_register_object_path(bus, "/org/freedesktop/locale1", &locale_vtable, NULL) ||
!dbus_connection_add_filter(bus, bus_exit_idle_filter, &remain_until, NULL)) {
- log_error("Not enough memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto fail;
}