]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
cephfs-top: fix exception on small sized windows
authorJos Collin <jcollin@redhat.com>
Thu, 5 Sep 2024 08:37:21 +0000 (14:07 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 6 Sep 2024 11:36:52 +0000 (17:06 +0530)
commit926f91c5d33dae368ea8b13edfef2e40bcf8944e
tree9c07697c5548a638a8bbc14a2a5772703367edea
parenta59f007695dd8f4e121613709f4de520eda55ab9
cephfs-top: fix exception on small sized windows

Fixes "exception: addwstr() returned ERR"
when the window width is smaller than expected.

Fixes: https://tracker.ceph.com/issues/67859
Signed-off-by: Jos Collin <jcollin@redhat.com>
src/tools/cephfs/top/cephfs-top