diff --git a/sys/kern/kern_exec.c b/sys/kern/kern_exec.c index cb7fe3c99bc1..ef105514faf2 100644 --- a/sys/kern/kern_exec.c +++ b/sys/kern/kern_exec.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_exec.c,v 1.98 1999/04/19 14:14:09 peter Exp $ + * $Id: kern_exec.c,v 1.99 1999/04/27 11:15:55 phk Exp $ */ #include @@ -229,6 +229,9 @@ interpret: p->p_fd = tmp; } + /* Stop profiling */ + stopprofclock(p); + /* close files on exec */ fdcloseexec(p);