From: Christopher Clark Date: Wed, 18 Jul 2018 22:22:17 +0000 (-0700) Subject: tools/xentop : replace use of deprecated vwprintw X-Git-Tag: archive/raspbian/4.11.4-1+rpi1^2~43 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6ae4fb26dbcbc208808ccbb9a408c119c61f82d8;p=xen.git 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 Gbp-Pq: Topic misc Gbp-Pq: Name tools-xentop-replace-use-of-deprecated-vwprintw.patch --- diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c index 2fd2b6742e..c46581062b 100644 --- a/tools/xenstat/xentop/xentop.c +++ b/tools/xenstat/xentop/xentop.c @@ -301,7 +301,7 @@ static void print(const char *fmt, ...) if (!batch) { if((current_row() < lines()-1)) { va_start(args, fmt); - vwprintw(stdscr, (curses_str_t)fmt, args); + vw_printw(stdscr, (curses_str_t)fmt, args); va_end(args); } } else {