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)
committerWei Liu <wei.liu2@citrix.com>
Thu, 19 Jul 2018 09:43:53 +0000 (10:43 +0100)
commit2b50cdbc444c637575580dcfa6c9525a84d5cc62
tree5b3871e9e7656646553b83d2c19e375c299bd1b6
parent9429b07a0af7f92a5f25e4068e11db881e157495
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>
tools/xenstat/xentop/xentop.c