hsa: fix non-NULL terminated C-string use in echo 11/22511/2
authorBenoît Ganne <bganne@cisco.com>
Mon, 30 Sep 2019 08:56:33 +0000 (10:56 +0200)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Fri, 4 Oct 2019 14:23:29 +0000 (14:23 +0000)
commitba55df18b5626f71377a8d358d6a146ca39b8706
treee747ef20a7785922aa1f7ac2b5bd60237bc6d490
parentf42f1d5db7a503b181c784792d319db3d7eb8d65
hsa: fix non-NULL terminated C-string use in echo

Use '%v' format for non-NULL terminated vectors instead of '%s'.

Type: fix

Change-Id: Id83de52486ad8dad3cdf3f32dad63a223fc1fdf7
Signed-off-by: Benoît Ganne <bganne@cisco.com>
(cherry picked from commit bb5ff4e4bb6dbf679a49fc9786718ad6fe229e84)
src/plugins/hs_apps/sapi/vpp_echo.c