h = hashmap_new(string_hash_func, string_compare_func);
if (!h) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
units = new(UnitFileList, n_units);
if (!units) {
unit_file_list_free(h);
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
"RequiresOverridable", "[color=\"black\"]",
"Requisite", "[color=\"darkblue\"]",
"RequisiteOverridable", "[color=\"darkblue\"]",
- "Wants", "[color=\"darkgrey\"]",
+ "Wants", "[color=\"grey66\"]",
"Conflicts", "[color=\"red\"]",
"ConflictedBy", "[color=\"red\"]",
"After", "[color=\"green\"]"
section = strndup(e + 1, *p + k - e - 2);
if (!section) {
free(page);
- log_error("Out of memory");
+ log_error("Out of memory.");
return;
}
p = unit_dbus_path_from_name(n ? n : *name);
free(n);
if (!p) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
char *p;
if (asprintf(&p, "/org/freedesktop/systemd1/job/%u", id) < 0) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
asprintf(&p, "%s/%s", *k, name);
if (!p) {
- log_error("No memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
else
asprintf(&p, SYSTEM_SYSVINIT_PATH "/%s", name);
if (!p) {
- log_error("No memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
l = strv_join((char**)argv, " ");
if (!l) {
- log_error("No memory.");
+ log_error("Out of memory.");
free(q);
free(p);
r = -ENOMEM;
"org.freedesktop.systemd1.Manager",
method);
if (!m) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
"org.freedesktop.systemd1.Manager",
"GetUnitFileState");
if (!m) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}