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 Fix typo in TEST_VFORK_ENABLED



details:   https://anonhg.NetBSD.org/src/rev/df58101ba1fa
branches:  trunk
changeset: 840829:df58101ba1fa
user:      kamil <kamil%NetBSD.org@localhost>
date:      Fri Apr 19 21:54:32 2019 +0000

description:
Fix typo in TEST_VFORK_ENABLED

This allows building and running vfork(2) test scenarios correctly.

diffstat:

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

diffs (27 lines):

diff -r 45ab30d93cdd -r df58101ba1fa tests/lib/libc/sys/t_ptrace_wait.c
--- a/tests/lib/libc/sys/t_ptrace_wait.c        Fri Apr 19 21:34:26 2019 +0000
+++ b/tests/lib/libc/sys/t_ptrace_wait.c        Fri Apr 19 21:54:32 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: t_ptrace_wait.c,v 1.110 2019/04/17 15:54:55 kamil Exp $        */
+/*     $NetBSD: t_ptrace_wait.c,v 1.111 2019/04/19 21:54:32 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.110 2019/04/17 15:54:55 kamil Exp $");
+__RCSID("$NetBSD: t_ptrace_wait.c,v 1.111 2019/04/19 21:54:32 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -7011,7 +7011,7 @@
 
 /// ----------------------------------------------------------------------------
 
-#if TEST_VFORK_ENABLE
+#if TEST_VFORK_ENABLED
 #if defined(TWAIT_HAVE_PID)
 static void
 traceme_vfork_clone_body(int flags)



Home | Main Index | Thread Index | Old Index