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
This commit is contained in:
Shawn Landden
2012-07-25 11:23:57 +02:00
committed by Kay Sievers
parent 22cfbae09d
commit 669241a076
36 changed files with 111 additions and 111 deletions
+3 -3
View File
@@ -303,7 +303,7 @@ static int parse_proc_cmdline(void) {
t = strv_append(arg_proc_cmdline_disks, word + 10);
if (!t) {
log_error("Out of memory");
log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
@@ -317,7 +317,7 @@ static int parse_proc_cmdline(void) {
t = strv_append(arg_proc_cmdline_disks, word + 13);
if (!t) {
log_error("Out of memory");
log_error("Out of memory.");
r = -ENOMEM;
goto finish;
}
@@ -380,7 +380,7 @@ int main(int argc, char *argv[]) {
device = strappend("UUID=", *i);
if (!name || !device) {
log_error("Out of memory");
log_error("Out of memory.");
r = EXIT_FAILURE;
free(name);
free(device);