Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Fix builds of ALL kernels that define DEBUG_EXEC
details: https://anonhg.NetBSD.org/src/rev/4a0d2169cc01
branches: trunk
changeset: 345162:4a0d2169cc01
user: ozaki-r <ozaki-r%NetBSD.org@localhost>
date: Wed May 11 02:18:27 2016 +0000
description:
Fix builds of ALL kernels that define DEBUG_EXEC
diffstat:
sys/kern/kern_exec.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r a6a261108f02 -r 4a0d2169cc01 sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c Wed May 11 02:09:10 2016 +0000
+++ b/sys/kern/kern_exec.c Wed May 11 02:18:27 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exec.c,v 1.428 2016/05/08 20:00:21 christos Exp $ */
+/* $NetBSD: kern_exec.c,v 1.429 2016/05/11 02:18:27 ozaki-r Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -59,7 +59,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.428 2016/05/08 20:00:21 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.429 2016/05/11 02:18:27 ozaki-r Exp $");
#include "opt_exec.h"
#include "opt_execfmt.h"
@@ -133,7 +133,7 @@
execve_fetch_element_t, char **, size_t *, void (*)(const void *, size_t));
static int exec_sigcode_map(struct proc *, const struct emul *);
-#ifdef DEBUG
+#if defined(DEBUG) && !defined(DEBUG_EXEC)
#define DEBUG_EXEC
#endif
#ifdef DEBUG_EXEC
Home |
Main Index |
Thread Index |
Old Index