diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-01 12:25:55 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-05-02 23:21:42 +0100 |
commit | 86a66606fe903048a076b83bbd36578494b14f89 (patch) | |
tree | 8d6c7a735533768abc281ff2d6ad6cf1b04340f7 /meta/recipes-extended/bash | |
parent | b80e6aeffe6ae968912c40d04c197954fe80e07d (diff) | |
download | poky-86a66606fe903048a076b83bbd36578494b14f89.tar.gz |
pybootchart/draw: Avoid divide by zero error
When disk stats don't run frequenctly enough, we see divide by zero
errors. The code already has a fallback path so ensure we use it
for this case too.
[YOCTO #14360]
(From OE-Core rev: b71d30aef5dc2c360432c0dd4147859dd303ea48)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/bash')
0 files changed, 0 insertions, 0 deletions