]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-top: fix exception on small sized windows 59899/head
authorJos Collin <jcollin@redhat.com>
Thu, 5 Sep 2024 08:37:21 +0000 (14:07 +0530)
committerJos Collin <jcollin@redhat.com>
Fri, 20 Sep 2024 10:01:14 +0000 (15:31 +0530)
commit6ef932029e2d95ba19f5a1a5ffed7096c06cf08c
tree191f81b65fb5a9bab4a7d006063a18e464142297
parent5d2bdf673b3503c46c55f383421fae8b9aa4f4f0
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>
(cherry picked from commit 926f91c5d33dae368ea8b13edfef2e40bcf8944e)
src/tools/cephfs/top/cephfs-top