summaryrefslogtreecommitdiff
path: root/src/shared/machine-image.c
diff options
context:
space:
mode:
authorAlexander Sverdlin <alexander.sverdlin@gmail.com>2015-03-29 20:46:42 +0200
committerDaniel Mack <daniel@zonque.org>2015-03-30 09:38:17 +0200
commitc87664fef45fc1dadc2303675ed357e0dde61db9 (patch)
tree4a6f538c9a52225eac70d899a9d09eb34f554042 /src/shared/machine-image.c
parent58ec01b35c046f5f167763343514c20170bfd2eb (diff)
systemd-bootchart: Repair Entropy Graph
Entropy Graph code doesn't handle the error condition if open() of /proc entry fails. Moreover, the file is only opened once and only first sample will contain the correct value because the return value of pread() is also not handled properly and file is not re-opened. Fix both problems.
Diffstat (limited to 'src/shared/machine-image.c')
0 files changed, 0 insertions, 0 deletions