Module Name: src
Committed By: pooka
Date: Tue Feb 15 16:49:54 UTC 2011
Modified Files:
src/sys/kern: kern_exec.c
Log Message:
fix snafu
To generate a diff of this commit:
cvs rdiff -u -r1.306 -r1.307 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.306 src/sys/kern/kern_exec.c:1.307
--- src/sys/kern/kern_exec.c:1.306 Tue Feb 15 15:54:28 2011
+++ src/sys/kern/kern_exec.c Tue Feb 15 16:49:54 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: kern_exec.c,v 1.306 2011/02/15 15:54:28 pooka Exp $ */
+/* $NetBSD: kern_exec.c,v 1.307 2011/02/15 16:49:54 pooka 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.306 2011/02/15 15:54:28 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_exec.c,v 1.307 2011/02/15 16:49:54 pooka Exp $");
#include "opt_ktrace.h"
#include "opt_modular.h"
@@ -951,7 +951,7 @@
goto exec_abort;
}
- cwdexec();
+ cwdexec(p);
fd_closeexec(); /* handle close on exec */
execsigs(p); /* reset catched signals */