Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/lib/libcurses/slave s/&string/string/ for mvscanw(3); ...



details:   https://anonhg.NetBSD.org/src/rev/1fba220d2322
branches:  trunk
changeset: 982192:1fba220d2322
user:      rin <rin%NetBSD.org@localhost>
date:      Sun Apr 04 09:34:24 2021 +0000

description:
s/&string/string/ for mvscanw(3); string is already pointer to buffer.

diffstat:

 tests/lib/libcurses/slave/curses_commands.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b01245b4b8d7 -r 1fba220d2322 tests/lib/libcurses/slave/curses_commands.c
--- a/tests/lib/libcurses/slave/curses_commands.c       Sat Apr 03 23:24:06 2021 +0000
+++ b/tests/lib/libcurses/slave/curses_commands.c       Sun Apr 04 09:34:24 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: curses_commands.c,v 1.22 2021/02/13 08:14:46 rillig Exp $      */
+/*     $NetBSD: curses_commands.c,v 1.23 2021/04/04 09:34:24 rin Exp $ */
 
 /*-
  * Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -1988,7 +1988,7 @@
        ARG_STRING(2, fmt);     /* Must have a single "%s" in this test. */
 
        report_count(2);
-       report_return(mvscanw(y, x, fmt, &string));
+       report_return(mvscanw(y, x, fmt, string));
        report_status(string);
 }
 



Home | Main Index | Thread Index | Old Index