chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from:
34a4071
)
bootchart: clean up control flow logic
author
Daniel Mack
<daniel@zonque.org>
Thu, 2 Apr 2015 11:43:18 +0000
(13:43 +0200)
committer
Daniel Mack
<daniel@zonque.org>
Fri, 3 Apr 2015 13:29:18 +0000
(15:29 +0200)
Don't blindly exit() from random functions, but return a proper error
and upchain error conditions.
squash! bootchart: clean up control flow logic
When pread() returns "0", it's a read failure, so don't make the caller think
log_sample() was successful, return meaningful error code instead of 0.
No differences found