diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-01 01:07:28 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-12-01 01:07:28 +0000 |
commit | 36fa37741601cbd51211345fe5966754c3dfb66c (patch) | |
tree | b2460e447ee68a7662bc06160e09b331c52145ee /lib/libcurses/lib_printw.c | |
parent | b581af3e6f467640ed98875baafba636b65e0ec4 (diff) |
Fix typo, vnsprintf -> vsnprintf. Tsk tsk.
Diffstat (limited to 'lib/libcurses/lib_printw.c')
-rw-r--r-- | lib/libcurses/lib_printw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libcurses/lib_printw.c b/lib/libcurses/lib_printw.c index f35ce4a70ee..4e296624a94 100644 --- a/lib/libcurses/lib_printw.c +++ b/lib/libcurses/lib_printw.c @@ -40,7 +40,7 @@ char buf[BUFSIZ]; T(("printw(%s,...) called", _nc_visbuf(fmt))); va_start(argp, fmt); - vnsprintf(buf, sizeof buf, fmt, argp); + vsnprintf(buf, sizeof buf, fmt, argp); va_end(argp); return(waddstr(stdscr, buf)); } @@ -55,7 +55,7 @@ char buf[BUFSIZ]; T(("wprintw(%p,%s,...) called", win, _nc_visbuf(fmt))); va_start(argp, fmt); - vnsprintf(buf, sizeof buf, fmt, argp); + vsnprintf(buf, sizeof buf, fmt, argp); va_end(argp); return(waddstr(win, buf)); } |