summaryrefslogtreecommitdiff
path: root/src/shared/machine-image.c
diff options
context:
space:
mode:
authorDaniel Mack <daniel@zonque.org>2015-04-02 13:43:18 +0200
committerDaniel Mack <daniel@zonque.org>2015-04-03 15:29:18 +0200
commit34a4071e998f327945993ea6e6cbcaa0292b4093 (patch)
treef5d850771de78559cfbfc396fa65aaaf5d34ca0d /src/shared/machine-image.c
parent039958632036808f9baa207e72b9827fa97b7a10 (diff)
bootchart: clean up control flow logic
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.
Diffstat (limited to 'src/shared/machine-image.c')
0 files changed, 0 insertions, 0 deletions