chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
journal: take scroll events in the entire white box in browse.html
[elogind.git]
/
src
/
journal
/
coredump.c
diff --git
a/src/journal/coredump.c
b/src/journal/coredump.c
index fcd0d1e625e782cb543e1b1b7d8599de4d024b6e..a507fc65f8ae24eb56daa7bf69030835c6238cc3 100644
(file)
--- a/
src/journal/coredump.c
+++ b/
src/journal/coredump.c
@@
-239,8
+239,7
@@
int main(int argc, char* argv[]) {
p = malloc(9 + COREDUMP_MAX);
if (!p) {
- log_error("Out of memory");
- r = -ENOMEM;
+ r = log_oom();
goto finish;
}