tools/xentop : replace use of deprecated vwprintw
authorChristopher Clark <christopher.w.clark@gmail.com>
Wed, 18 Jul 2018 22:22:17 +0000 (15:22 -0700)
committerIan Jackson <ian.jackson@eu.citrix.com>
Wed, 10 Jun 2020 10:34:11 +0000 (11:34 +0100)
commit9be79927a6395f12c9e24afaccf6acbaf81d402e
tree66fb11dcb2815c77e644861ab809ac597631864e
parentb8d476a9eaee8877cd5ba2c9eb6dbc5412626d13
tools/xentop : replace use of deprecated vwprintw

gcc-8.1 complains:

| xentop.c: In function 'print':
| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
|     vwprintw(stdscr, (curses_str_t)fmt, args);
|     ^~~~~~~~

vw_printw (note the underscore) is a non-deprecated alternative.

Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
(cherry picked from commit 2b50cdbc444c637575580dcfa6c9525a84d5cc62)
tools/xenstat/xentop/xentop.c