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
/
shared
/
logs-show.c
diff --git
a/src/shared/logs-show.c
b/src/shared/logs-show.c
index a68cd3de57bff6f175bbba920c273185501596d5..f90f5a1f0d9b0da8fb12f69c41a267173999b36e 100644
(file)
--- a/
src/shared/logs-show.c
+++ b/
src/shared/logs-show.c
@@
-53,7
+53,7
@@
static int parse_field(const void *data, size_t length, const char *field, char
memcpy(buf, (const char*) data + fl, nl);
((char*)buf)[nl] = 0;
if (!buf) {
- log_error("Out of memory");
+ log_error("Out of memory
.
");
return -ENOMEM;
}