Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/lib/libcurses/director tests/libcurses: fix warnings f...
details: https://anonhg.NetBSD.org/src/rev/a4d2240fcade
branches: trunk
changeset: 952323:a4d2240fcade
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Feb 13 05:38:16 2021 +0000
description:
tests/libcurses: fix warnings for missing environment variables
diffstat:
tests/lib/libcurses/director/director.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r f31dc86d7d2d -r a4d2240fcade tests/lib/libcurses/director/director.c
--- a/tests/lib/libcurses/director/director.c Sat Feb 13 02:17:02 2021 +0000
+++ b/tests/lib/libcurses/director/director.c Sat Feb 13 05:38:16 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: director.c,v 1.18 2021/02/09 20:42:31 rillig Exp $ */
+/* $NetBSD: director.c,v 1.19 2021/02/13 05:38:16 rillig Exp $ */
/*-
* Copyright 2009 Brett Lymn <blymn%NetBSD.org@localhost>
@@ -194,14 +194,14 @@
if (check_path == NULL)
check_path = getenv("CHECK_PATH");
if ((check_path == NULL) || (check_path[0] == '\0')) {
- warn("$CHECK_PATH not set, defaulting to %s", def_check_path);
+ warnx("$CHECK_PATH not set, defaulting to %s", def_check_path);
check_path = def_check_path;
}
if (include_path == NULL)
include_path = getenv("INCLUDE_PATH");
if ((include_path == NULL) || (include_path[0] == '\0')) {
- warn("$INCLUDE_PATH not set, defaulting to %s",
+ warnx("$INCLUDE_PATH not set, defaulting to %s",
def_include_path);
include_path = def_include_path;
}
Home |
Main Index |
Thread Index |
Old Index