diff options
| author | 2012-04-12 10:11:41 +0000 | |
|---|---|---|
| committer | 2012-04-12 10:11:41 +0000 | |
| commit | 0839b8469aff47844b1650dfbafa12b98337eeab (patch) | |
| tree | 50967d5a7c03c489ca93860c10775e8bfb8ac8a0 /sys/kern/kern_acct.c | |
| parent | document getdelim() and getline(), and a grammar fix whilst here; (diff) | |
| download | wireguard-openbsd-0839b8469aff47844b1650dfbafa12b98337eeab.tar.xz wireguard-openbsd-0839b8469aff47844b1650dfbafa12b98337eeab.zip | |
move accounting flags to struct process; idea and ok guenther
Diffstat (limited to 'sys/kern/kern_acct.c')
| -rw-r--r-- | sys/kern/kern_acct.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/kern_acct.c b/sys/kern/kern_acct.c index aa519740c5d..ce651a53b33 100644 --- a/sys/kern/kern_acct.c +++ b/sys/kern/kern_acct.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_acct.c,v 1.24 2012/03/23 15:51:26 guenther Exp $ */ +/* $OpenBSD: kern_acct.c,v 1.25 2012/04/12 10:11:41 mikeb Exp $ */ /* $NetBSD: kern_acct.c,v 1.42 1996/02/04 02:15:12 christos Exp $ */ /*- @@ -224,7 +224,7 @@ acct_process(struct proc *p) acct.ac_tty = NODEV; /* (8) The boolean flags that tell how the process terminated, etc. */ - acct.ac_flag = p->p_acflag; + acct.ac_flag = pr->ps_acflag; /* * Now, just write the accounting information to the file. |
