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
@@ -343,7 +343,7 @@ int main(int argc, char *argv[]) {
l = strcspn(opt_cipher, "-");
if (!(truncated_cipher = strndup(opt_cipher, l))) {
log_error("Out of memory");
log_error("Out of memory.");
goto finish;
}
@@ -365,7 +365,7 @@ int main(int argc, char *argv[]) {
char **p;
if (asprintf(&text, "Please enter passphrase for disk %s!", name) < 0) {
log_error("Out of memory");
log_error("Out of memory.");
goto finish;
}
@@ -383,7 +383,7 @@ int main(int argc, char *argv[]) {
assert(strv_length(passwords) == 1);
if (asprintf(&text, "Please enter passphrase for disk %s! (verification)", name) < 0) {
log_error("Out of memory");
log_error("Out of memory.");
goto finish;
}