]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cephfs-top: fix exception on small sized windows 59898/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:00:32 +0000 (15:30 +0530)
commit423a8cbcd0faa51a6855c5e52be557958d93a271
tree87774a4ea36c0d351bddbfec2aaf06810e2df31c
parente3543f64fb26c3da878ce228e6f2626a6fcef248
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