From owner-freebsd-commit Sun Jul 23 16:02:40 1995 Return-Path: commit-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id QAA18266 for commit-outgoing; Sun, 23 Jul 1995 16:02:40 -0700 Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id QAA18251 for cvs-sys-outgoing; Sun, 23 Jul 1995 16:02:34 -0700 Received: (from mpp@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id QAA18234 ; Sun, 23 Jul 1995 16:02:23 -0700 Date: Sun, 23 Jul 1995 16:02:23 -0700 From: Mike Pritchard Message-Id: <199507232302.QAA18234@freefall.cdrom.com> To: CVS-commiters, cvs-sys Subject: cvs commit: src/sys/kern kern_acct.c Sender: commit-owner@FreeBSD.org Precedence: bulk mpp 95/07/23 16:02:22 Modified: sys/kern kern_acct.c Log: Use the same method to determine the time that the process ended that fork() uses to determine the time that the process started when calculating the elapsed time. This prevents the ac_etime field in the accounting record from getting set to -1 if the process exists for a VERY short period of time.