Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/kern Revert Christos's accidental changes.
details: https://anonhg.NetBSD.org/src/rev/bd538fe9346c
branches: trunk
changeset: 771858:bd538fe9346c
user: dholland <dholland%NetBSD.org@localhost>
date: Sun Dec 04 15:12:07 2011 +0000
description:
Revert Christos's accidental changes.
diffstat:
sys/kern/kern_exec.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 6853b3dc714c -r bd538fe9346c sys/kern/kern_exec.c
--- a/sys/kern/kern_exec.c Sun Dec 04 13:09:07 2011 +0000
+++ b/sys/kern/kern_exec.c Sun Dec 04 15:12:07 2011 +0000
@@ -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 @@
*/
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 @@
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
Home |
Main Index |
Thread Index |
Old Index