chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
use "Out of memory." consistantly (or with "\n")
[elogind.git]
/
src
/
tty-ask-password-agent
/
tty-ask-password-agent.c
diff --git
a/src/tty-ask-password-agent/tty-ask-password-agent.c
b/src/tty-ask-password-agent/tty-ask-password-agent.c
index 2ab3401e6f93c3c125ad568b05eb0d160cc6b2ad..403e8cd3c641a48c67568ecc7d117985e37d48cc 100644
(file)
--- a/
src/tty-ask-password-agent/tty-ask-password-agent.c
+++ b/
src/tty-ask-password-agent/tty-ask-password-agent.c
@@
-315,7
+315,7
@@
static int parse_password(const char *filename, char **wall) {
*wall ? "\r\n\r\n" : "",
message,
pid) < 0) {
*wall ? "\r\n\r\n" : "",
message,
pid) < 0) {
- log_error("Out of memory");
+ log_error("Out of memory
.
");
r = -ENOMEM;
goto finish;
}
r = -ENOMEM;
goto finish;
}
@@
-533,7
+533,7
@@
static int show_passwords(void) {
continue;
if (!(p = strappend("/run/systemd/ask-password/", de->d_name))) {
continue;
if (!(p = strappend("/run/systemd/ask-password/", de->d_name))) {
- log_error("Out of memory");
+ log_error("Out of memory
.
");
r = -ENOMEM;
goto finish;
}
r = -ENOMEM;
goto finish;
}