chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
shared/sparse-endian.h: add missing byteswap.h include
[elogind.git]
/
src
/
bootchart
/
store.c
diff --git
a/src/bootchart/store.c
b/src/bootchart/store.c
index ed46a503c672171e397b933e7f47f6a1f6d76bd7..ed683e88d97472fb11c42ea5c55c2dd1cf1ca656 100644
(file)
--- a/
src/bootchart/store.c
+++ b/
src/bootchart/store.c
@@
-399,7
+399,7
@@
schedstat_next:
continue;
ps->sample->next = new0(struct ps_sched_struct, 1);
- if (!ps->sample) {
+ if (!ps->sample
->next
) {
log_oom();
exit(EXIT_FAILURE);
}