summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2019-12-21 15:21:28 +0000
committerRoy Marples <roy@marples.name>2019-12-21 15:21:28 +0000
commit9f76cb7b16aa985adc42d0b604ebac0f0d0d92fd (patch)
tree8ea8ffdb2c5042fac1e52337b33434c9a5bdfa5b
parent0b8924c666f3dddb18cd7028e55573bb8671a0f8 (diff)
downloaddhcpcd-ui-9f76cb7b16aa985adc42d0b604ebac0f0d0d92fd.tar.xz
vwprintw -> vw_printw as the former is deprecated.HEADmaster
-rw-r--r--src/dhcpcd-curses/dhcpcd-curses.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/dhcpcd-curses/dhcpcd-curses.c b/src/dhcpcd-curses/dhcpcd-curses.c
index 102d6ef..7acc1f9 100644
--- a/src/dhcpcd-curses/dhcpcd-curses.c
+++ b/src/dhcpcd-curses/dhcpcd-curses.c
@@ -97,7 +97,7 @@ debug(struct ctx *ctx, const char *fmt, ...)
return 0;
waddch(ctx->win_debug, '\n');
va_start(args, fmt);
- r = vwprintw(ctx->win_debug, fmt, args);
+ r = vw_printw(ctx->win_debug, fmt, args);
va_end(args);
wrefresh(ctx->win_debug);
return r;
@@ -113,7 +113,7 @@ warning(struct ctx *ctx, const char *fmt, ...)
return 0;
waddch(ctx->win_debug, '\n');
va_start(args, fmt);
- r = vwprintw(ctx->win_debug, fmt, args);
+ r = vw_printw(ctx->win_debug, fmt, args);
va_end(args);
wrefresh(ctx->win_debug);
return r;
@@ -129,7 +129,7 @@ notify(struct ctx *ctx, const char *fmt, ...)
return 0;
waddch(ctx->win_debug, '\n');
va_start(args, fmt);
- r = vwprintw(ctx->win_debug, fmt, args);
+ r = vw_printw(ctx->win_debug, fmt, args);
va_end(args);
wrefresh(ctx->win_debug);
return r;