misc: vppctl - fix coverity warning 25/34525/4
authorKlement Sekera <ksekera@cisco.com>
Tue, 16 Nov 2021 11:14:40 +0000 (12:14 +0100)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 28 Jan 2022 15:14:45 +0000 (15:14 +0000)
commit15d0215b9ca91f4964ba3a5528b1f38f84aaf158
treeda11e2920c90afcab172c71556062656f4eb3b55
parentaa9903cabfd44ed9c88d1f624a39096ff7fee37f
misc: vppctl - fix coverity warning

Calculate space left to silence coverity.

Type: fix
Fixes: 31f192434660
Signed-off-by: Klement Sekera <ksekera@cisco.com>
Change-Id: I9cd2e91ce74444e2625bf86721a8d3e44bf6afdd
src/vpp/app/vppctl.c