Module Name:    src
Committed By:   dholland
Date:           Sun Dec  4 15:12:07 UTC 2011

Modified Files:
        src/sys/kern: kern_exec.c

Log Message:
Revert Christos's accidental changes.


To generate a diff of this commit:
cvs rdiff -u -r1.332 -r1.333 src/sys/kern/kern_exec.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/kern/kern_exec.c
diff -u src/sys/kern/kern_exec.c:1.332 src/sys/kern/kern_exec.c:1.333
--- src/sys/kern/kern_exec.c:1.332	Thu Nov 24 19:55:22 2011
+++ src/sys/kern/kern_exec.c	Sun Dec  4 15:12:07 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: kern_exec.c,v 1.332 2011/11/24 19:55:22 christos Exp $	*/
+/*	$NetBSD: kern_exec.c,v 1.333 2011/12/04 15:12:07 dholland 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.332 2011/11/24 19:55:22 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.333 2011/12/04 15:12:07 dholland Exp $");
 
 #include "opt_exec.h"
 #include "opt_ktrace.h"
@@ -964,7 +964,7 @@ execve1(struct lwp *l, const char *path,
 	 */
 	if (pathstring[0] == '/')
 		(void)strlcpy(pack.ep_path = dp, pathstring, MAXPATHLEN);
-#ifndef notyet
+#ifdef notyet
 	/*
 	 * Although this works most of the time [since the entry was just
 	 * entered in the cache] we don't use it because it theoretically
@@ -976,7 +976,7 @@ execve1(struct lwp *l, const char *path,
 		pack.ep_path = dp;
 #endif
 	else {
-#ifndef notyet
+#ifdef notyet
 		printf("Cannot get path for pid %d [%s] (error %d)",
 		    (int)p->p_pid, p->p_comm, error);
 #endif

Reply via email to