to = strjoin(arg_dest,"/getty.target.wants/", tservice, NULL);
if (!from || !to) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
n = unit_name_replace_instance("serial-getty@.service", tty);
if (!n) {
- log_error("Out of memory");
+ log_error("Out of memory.");
return -ENOMEM;
}
int k;
if (asprintf(&p, "/sys/class/tty/%s", j) < 0) {
- log_error("Out of memory");
+ log_error("Out of memory.");
r = EXIT_FAILURE;
goto finish;
}