summaryrefslogtreecommitdiffstats
path: root/recipes-extended/xen/files/tools-xentop-vwprintw.patch
diff options
context:
space:
mode:
authorChristopher Clark <christopher.w.clark@gmail.com>2019-04-16 13:35:37 -0700
committerBruce Ashfield <bruce.ashfield@gmail.com>2019-04-18 09:32:40 -0400
commit9168b0ce83104b2c10b74aacda09f0aeeafc6aa9 (patch)
tree226036786b0399e7fce60f29825ea5491b9da277 /recipes-extended/xen/files/tools-xentop-vwprintw.patch
parent15caed2f436afd6ab07a0865b161c54f51bab6a4 (diff)
downloadmeta-virtualization-9168b0ce83104b2c10b74aacda09f0aeeafc6aa9.tar.gz
xen: upgrade to 4.12.0
Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended/xen/files/tools-xentop-vwprintw.patch')
-rw-r--r--recipes-extended/xen/files/tools-xentop-vwprintw.patch25
1 files changed, 0 insertions, 25 deletions
diff --git a/recipes-extended/xen/files/tools-xentop-vwprintw.patch b/recipes-extended/xen/files/tools-xentop-vwprintw.patch
deleted file mode 100644
index 5d5d0116..00000000
--- a/recipes-extended/xen/files/tools-xentop-vwprintw.patch
+++ /dev/null
@@ -1,25 +0,0 @@
1tools/xentop : fix vwprintw -Werror=deprecated-declarations warning
2
3gcc-8.1 complains:
4
5| xentop.c: In function 'print':
6| xentop.c:304:4: error: 'vwprintw' is deprecated [-Werror=deprecated-declarations]
7| vwprintw(stdscr, (curses_str_t)fmt, args);
8| ^~~~~~~~
9
10vw_printw is the non-deprecated alternative.
11
12Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com>
13diff --git a/tools/xenstat/xentop/xentop.c b/tools/xenstat/xentop/xentop.c
14index 2fd2b67..c465810 100644
15--- a/tools/xenstat/xentop/xentop.c
16+++ b/tools/xenstat/xentop/xentop.c
17@@ -301,7 +301,7 @@ static void print(const char *fmt, ...)
18 if (!batch) {
19 if((current_row() < lines()-1)) {
20 va_start(args, fmt);
21- vwprintw(stdscr, (curses_str_t)fmt, args);
22+ vw_printw(stdscr, (curses_str_t)fmt, args);
23 va_end(args);
24 }
25 } else {