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/a50449f4fb08
branches: trunk
changeset: 960961:a50449f4fb08
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 b300bf02ba0f -r a50449f4fb08 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