Source-Changes-HG archive

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

[src/trunk]: src/tests/lib/libc/sys Disable debug code



details:   https://anonhg.NetBSD.org/src/rev/00fee80fdc0f
branches:  trunk
changeset: 744521:00fee80fdc0f
user:      kamil <kamil%NetBSD.org@localhost>
date:      Tue Feb 04 21:34:47 2020 +0000

description:
Disable debug code

diffstat:

 tests/lib/libc/sys/t_ptrace_wait.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 6955c4d01b59 -r 00fee80fdc0f tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Tue Feb 04 21:34:12 2020 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Tue Feb 04 21:34:47 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.151 2020/02/04 21:34:12 kamil Exp $        */
+/*     $NetBSD: t_ptrace_wait.c,v 1.152 2020/02/04 21:34:47 kamil Exp $        */
 
 /*-
  * Copyright (c) 2016, 2017, 2018, 2019 The NetBSD Foundation, Inc.
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: t_ptrace_wait.c,v 1.151 2020/02/04 21:34:12 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.152 2020/02/04 21:34:47 kamil Exp $");
 
 #define __LEGACY_PT_LWPINFO
 
@@ -116,7 +116,7 @@
 #define SYSCALL_REQUIRE_ERRNO(res, exp) ATF_REQUIRE_MSG(res == exp, \
     "%d(%s) != %d", res, strerror(res), exp)
 
-static int debug = 1;
+static int debug = 0;
 
 #define DPRINTF(a, ...)        do  \
        if (debug) \



Home | Main Index | Thread Index | Old Index